home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / temgen.lha / Temgen / tg-0.11 / y.tab.c.precomp < prev    next >
Text File  |  2002-12-18  |  90KB  |  2,638 lines

  1. /* A Bison parser, made from tg.y, by GNU bison 1.75.  */
  2.  
  3. /* Skeleton parser for Yacc-like parsing with Bison,
  4.    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
  5.  
  6.    This program is free software; you can redistribute it and/or modify
  7.    it under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2, or (at your option)
  9.    any later version.
  10.  
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.  
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 59 Temple Place - Suite 330,
  19.    Boston, MA 02111-1307, USA.  */
  20.  
  21. /* As a special exception, when this file is copied by Bison into a
  22.    Bison output file, you may use that output file without restriction.
  23.    This special exception was added by the Free Software Foundation
  24.    in version 1.24 of Bison.  */
  25.  
  26. /* Written by Richard Stallman by simplifying the original so called
  27.    ``semantic'' parser.  */
  28.  
  29. /* All symbols defined below should begin with yy or YY, to avoid
  30.    infringing on user name space.  This should be done even for local
  31.    variables, as they might otherwise be expanded by user macros.
  32.    There are some unavoidable exceptions within include files to
  33.    define necessary library symbols; they are noted "INFRINGES ON
  34.    USER NAME SPACE" below.  */
  35.  
  36. /* Identify Bison output.  */
  37. #define YYBISON    1
  38.  
  39. /* Pure parsers.  */
  40. #define YYPURE    0
  41.  
  42. /* Using locations.  */
  43. #define YYLSP_NEEDED 0
  44.  
  45.  
  46.  
  47. /* Tokens.  */
  48. #ifndef YYTOKENTYPE
  49. # define YYTOKENTYPE
  50.    /* Put the tokens into the symbol table, so that GDB and other debuggers
  51.       know about them.  */
  52.    enum yytokentype {
  53.      TOK_NUM = 258,
  54.      TOK_FLOAT = 259,
  55.      TOK_NAME = 260,
  56.      TOK_STRING = 261,
  57.      TOK_CHAR = 262,
  58.      TOK_DOL = 263,
  59.      TOK_DIV = 264,
  60.      TOK_DOT = 265,
  61.      TOK_COM = 266,
  62.      TOK_STAR = 267,
  63.      TOK_PLUS = 268,
  64.      TOK_MINUS = 269,
  65.      TOK_PLUSPLUS = 270,
  66.      TOK_MINUSMINUS = 271,
  67.      TOK_PLUS_S = 272,
  68.      TOK_MINUS_S = 273,
  69.      TOK_DIV_S = 274,
  70.      TOK_MUL_S = 275,
  71.      TOK_CLOSE = 276,
  72.      TOK_CLOSEB = 277,
  73.      TOK_NL = 278,
  74.      TOK_OPEN = 279,
  75.      TOK_OPENB = 280,
  76.      TOK_COLON = 281,
  77.      TOK_SCOL = 282,
  78.      TOK_AT = 283,
  79.      TOK_EQ = 284,
  80.      TOK_IN = 285,
  81.      TOK_EQEQ = 286,
  82.      TOK_LT = 287,
  83.      TOK_NE = 288,
  84.      TOK_GT = 289,
  85.      TOK_NOT = 290,
  86.      TOK_AND = 291,
  87.      TOK_OR = 292,
  88.      TOK_LTEQ = 293,
  89.      TOK_GTEQ = 294,
  90.      TOK_IF = 295,
  91.      TOK_ELSE = 296,
  92.      TOK_ENDIF = 297,
  93.      TOK_EMBED = 298,
  94.      TOK_EMIT = 299,
  95.      TOK_OUTPUT = 300,
  96.      TOK_LOCAL = 301,
  97.      TOK_PUSH = 302,
  98.      TOK_POP = 303,
  99.      TOK_FUNCTION = 304,
  100.      TOK_ENDFUNCTION = 305,
  101.      TOK_SWITCH = 306,
  102.      TOK_CASE = 307,
  103.      TOK_FOR = 308,
  104.      TOK_ENDSWITCH = 309,
  105.      TOK_ENDFOR = 310,
  106.      TOK_RETURN = 311,
  107.      TOK_BREAK = 312,
  108.      TOK_USE = 313,
  109.      TOK_EXIT = 314
  110.    };
  111. #endif
  112. #define TOK_NUM 258
  113. #define TOK_FLOAT 259
  114. #define TOK_NAME 260
  115. #define TOK_STRING 261
  116. #define TOK_CHAR 262
  117. #define TOK_DOL 263
  118. #define TOK_DIV 264
  119. #define TOK_DOT 265
  120. #define TOK_COM 266
  121. #define TOK_STAR 267
  122. #define TOK_PLUS 268
  123. #define TOK_MINUS 269
  124. #define TOK_PLUSPLUS 270
  125. #define TOK_MINUSMINUS 271
  126. #define TOK_PLUS_S 272
  127. #define TOK_MINUS_S 273
  128. #define TOK_DIV_S 274
  129. #define TOK_MUL_S 275
  130. #define TOK_CLOSE 276
  131. #define TOK_CLOSEB 277
  132. #define TOK_NL 278
  133. #define TOK_OPEN 279
  134. #define TOK_OPENB 280
  135. #define TOK_COLON 281
  136. #define TOK_SCOL 282
  137. #define TOK_AT 283
  138. #define TOK_EQ 284
  139. #define TOK_IN 285
  140. #define TOK_EQEQ 286
  141. #define TOK_LT 287
  142. #define TOK_NE 288
  143. #define TOK_GT 289
  144. #define TOK_NOT 290
  145. #define TOK_AND 291
  146. #define TOK_OR 292
  147. #define TOK_LTEQ 293
  148. #define TOK_GTEQ 294
  149. #define TOK_IF 295
  150. #define TOK_ELSE 296
  151. #define TOK_ENDIF 297
  152. #define TOK_EMBED 298
  153. #define TOK_EMIT 299
  154. #define TOK_OUTPUT 300
  155. #define TOK_LOCAL 301
  156. #define TOK_PUSH 302
  157. #define TOK_POP 303
  158. #define TOK_FUNCTION 304
  159. #define TOK_ENDFUNCTION 305
  160. #define TOK_SWITCH 306
  161. #define TOK_CASE 307
  162. #define TOK_FOR 308
  163. #define TOK_ENDSWITCH 309
  164. #define TOK_ENDFOR 310
  165. #define TOK_RETURN 311
  166. #define TOK_BREAK 312
  167. #define TOK_USE 313
  168. #define TOK_EXIT 314
  169.  
  170.  
  171.  
  172.  
  173. /* Copy the first part of user declarations.  */
  174.  
  175.  
  176. /* Enabling traces.  */
  177. #ifndef YYDEBUG
  178. # define YYDEBUG 0
  179. #endif
  180.  
  181. /* Enabling verbose error messages.  */
  182. #ifdef YYERROR_VERBOSE
  183. # undef YYERROR_VERBOSE
  184. # define YYERROR_VERBOSE 1
  185. #else
  186. # define YYERROR_VERBOSE 0
  187. #endif
  188.  
  189. #ifndef YYSTYPE
  190. #line 99 "tg.y"
  191. typedef union {
  192.     struct int_rec {
  193.             int            val;
  194.             int            line;
  195.             int            start, end;
  196.     } i;
  197.  
  198.     struct float_rec {
  199.             float          val;
  200.             int            line;
  201.             int            start, end;
  202.     } f;
  203.     
  204.     struct char_rec {
  205.             char          *val;
  206.             int            line;
  207.             int            start, end;
  208.     } s;
  209.     
  210.     struct ptr_rec {
  211.             void          *val;
  212.             int            line;
  213.             int            start, end;
  214.     } p;
  215.     
  216.     struct line_rec {
  217.         int    line;
  218.         struct command *cmd;
  219.     } l;
  220. } yystype;
  221. /* Line 193 of /usr/local/share/bison/yacc.c.  */
  222. #line 223 "y.tab.c"
  223. # define YYSTYPE yystype
  224. # define YYSTYPE_IS_TRIVIAL 1
  225. #endif
  226.  
  227. #ifndef YYLTYPE
  228. typedef struct yyltype
  229. {
  230.   int first_line;
  231.   int first_column;
  232.   int last_line;
  233.   int last_column;
  234. } yyltype;
  235. # define YYLTYPE yyltype
  236. # define YYLTYPE_IS_TRIVIAL 1
  237. #endif
  238.  
  239. /* Copy the second part of user declarations.  */
  240. #line 130 "tg.y"
  241.  
  242. #include "alloc.h"
  243. #include "generator.h"    
  244. #include "util.h"    
  245.     
  246. #include <stdio.h>
  247. #define FL     fflush(stdout);    
  248. #define dpr    printf 
  249. #define P(s)   {dpr(s);}
  250.  
  251. #undef  YYDEBUG        
  252. #define YYDEBUG 1
  253.  
  254. #undef  YYERROR_VERBOSE        
  255. #define YYERROR_VERBOSE   1
  256.     
  257. int   yydebug = 0;        
  258. char *errmsg = "syntax error";
  259.  
  260. extern struct txttab *text_table;
  261. extern struct lintab *line_table;
  262. extern int curfilen;
  263. extern int lineno;
  264.  
  265. #define  ERR(msg) save_error(atom_name(curfilen), lineno, msg)
  266.  
  267.  
  268. /* Line 213 of /usr/local/share/bison/yacc.c.  */
  269. #line 270 "y.tab.c"
  270.  
  271. #if ! defined (yyoverflow) || YYERROR_VERBOSE
  272.  
  273. /* The parser invokes alloca or malloc; define the necessary symbols.  */
  274.  
  275. # if YYSTACK_USE_ALLOCA
  276. #  define YYSTACK_ALLOC alloca
  277. # else
  278. #  ifndef YYSTACK_USE_ALLOCA
  279. #   if defined (alloca) || defined (_ALLOCA_H)
  280. #    define YYSTACK_ALLOC alloca
  281. #   else
  282. #    ifdef __GNUC__
  283. #     define YYSTACK_ALLOC __builtin_alloca
  284. #    endif
  285. #   endif
  286. #  endif
  287. # endif
  288.  
  289. # ifdef YYSTACK_ALLOC
  290.    /* Pacify GCC's `empty if-body' warning. */
  291. #  define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
  292. # else
  293. #  if defined (__STDC__) || defined (__cplusplus)
  294. #   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
  295. #   define YYSIZE_T size_t
  296. #  endif
  297. #  define YYSTACK_ALLOC malloc
  298. #  define YYSTACK_FREE free
  299. # endif
  300. #endif /* ! defined (yyoverflow) || YYERROR_VERBOSE */
  301.  
  302.  
  303. #if (! defined (yyoverflow) \
  304.      && (! defined (__cplusplus) \
  305.      || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
  306.  
  307. /* A type that is properly aligned for any stack member.  */
  308. union yyalloc
  309. {
  310.   short yyss;
  311.   YYSTYPE yyvs;
  312.   };
  313.  
  314. /* The size of the maximum gap between one aligned stack and the next.  */
  315. # define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1)
  316.  
  317. /* The size of an array large to enough to hold all stacks, each with
  318.    N elements.  */
  319. # define YYSTACK_BYTES(N) \
  320.      ((N) * (sizeof (short) + sizeof (YYSTYPE))                \
  321.       + YYSTACK_GAP_MAX)
  322.  
  323. /* Copy COUNT objects from FROM to TO.  The source and destination do
  324.    not overlap.  */
  325. # ifndef YYCOPY
  326. #  if 1 < __GNUC__
  327. #   define YYCOPY(To, From, Count) \
  328.       __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
  329. #  else
  330. #   define YYCOPY(To, From, Count)        \
  331.       do                    \
  332.     {                    \
  333.       register YYSIZE_T yyi;        \
  334.       for (yyi = 0; yyi < (Count); yyi++)    \
  335.         (To)[yyi] = (From)[yyi];    \
  336.     }                    \
  337.       while (0)
  338. #  endif
  339. # endif
  340.  
  341. /* Relocate STACK from its old location to the new one.  The
  342.    local variables YYSIZE and YYSTACKSIZE give the old and new number of
  343.    elements in the stack, and YYPTR gives the new location of the
  344.    stack.  Advance YYPTR to a properly aligned location for the next
  345.    stack.  */
  346. # define YYSTACK_RELOCATE(Stack)                    \
  347.     do                                    \
  348.       {                                    \
  349.     YYSIZE_T yynewbytes;                        \
  350.     YYCOPY (&yyptr->Stack, Stack, yysize);                \
  351.     Stack = &yyptr->Stack;                        \
  352.     yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX;    \
  353.     yyptr += yynewbytes / sizeof (*yyptr);                \
  354.       }                                    \
  355.     while (0)
  356.  
  357. #endif
  358.  
  359. #if defined (__STDC__) || defined (__cplusplus)
  360.    typedef signed char yysigned_char;
  361. #else
  362.    typedef short yysigned_char;
  363. #endif
  364.  
  365. /* YYFINAL -- State number of the termination state. */
  366. #define YYFINAL  111
  367. #define YYLAST   825
  368.  
  369. /* YYNTOKENS -- Number of terminals. */
  370. #define YYNTOKENS  60
  371. /* YYNNTS -- Number of nonterminals. */
  372. #define YYNNTS  42
  373. /* YYNRULES -- Number of rules. */
  374. #define YYNRULES  163
  375. /* YYNRULES -- Number of states. */
  376. #define YYNSTATES  232
  377.  
  378. /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
  379. #define YYUNDEFTOK  2
  380. #define YYMAXUTOK   314
  381.  
  382. #define YYTRANSLATE(X) \
  383.   ((unsigned)(X) <= YYMAXUTOK ? yytranslate[X] : YYUNDEFTOK)
  384.  
  385. /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
  386. static const unsigned char yytranslate[] =
  387. {
  388.        0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  389.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  390.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  391.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  392.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  393.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  394.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  395.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  396.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  397.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  398.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  399.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  400.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  401.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  402.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  403.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  404.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  405.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  406.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  407.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  408.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  409.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  410.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  411.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  412.        2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
  413.        2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
  414.        5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
  415.       15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
  416.       25,    26,    27,    28,    29,    30,    31,    32,    33,    34,
  417.       35,    36,    37,    38,    39,    40,    41,    42,    43,    44,
  418.       45,    46,    47,    48,    49,    50,    51,    52,    53,    54,
  419.       55,    56,    57,    58,    59
  420. };
  421.  
  422. #if YYDEBUG
  423. /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
  424.    YYRHS.  */
  425. static const unsigned short yyprhs[] =
  426. {
  427.        0,     0,     3,     4,     6,     9,    13,    15,    17,    19,
  428.       21,    23,    26,    29,    31,    33,    35,    37,    39,    41,
  429.       43,    45,    47,    49,    51,    53,    55,    57,    59,    61,
  430.       63,    65,    67,    69,    71,    73,    75,    77,    79,    81,
  431.       83,    85,    87,    89,    91,    93,    95,    97,   100,   105,
  432.      108,   110,   114,   118,   120,   122,   124,   126,   128,   130,
  433.      132,   134,   136,   138,   140,   142,   144,   146,   150,   152,
  434.      156,   160,   164,   168,   170,   174,   178,   182,   186,   188,
  435.      192,   196,   202,   206,   210,   213,   215,   217,   220,   223,
  436.      226,   229,   232,   235,   237,   239,   241,   245,   248,   250,
  437.      252,   257,   262,   266,   270,   271,   273,   275,   279,   281,
  438.      283,   285,   287,   289,   291,   293,   295,   297,   299,   301,
  439.      303,   305,   307,   309,   311,   314,   320,   329,   332,   335,
  440.      337,   345,   348,   349,   351,   353,   357,   363,   368,   370,
  441.      373,   379,   382,   388,   391,   399,   405,   408,   411,   414,
  442.      416,   418,   420,   421,   423,   425,   428,   431,   434,   437,
  443.      440,   443,   446,   448
  444. };
  445.  
  446. /* YYRHS -- A `-1'-separated list of the rules' RHS. */
  447. static const yysigned_char yyrhs[] =
  448. {
  449.       61,     0,    -1,    -1,    63,    -1,    61,    62,    -1,    61,
  450.       62,    63,    -1,    23,    -1,    64,    -1,    79,    -1,    65,
  451.       -1,    66,    -1,    64,    65,    -1,    64,    66,    -1,     3,
  452.       -1,     4,    -1,     5,    -1,     6,    -1,     7,    -1,    10,
  453.       -1,    26,    -1,    27,    -1,    11,    -1,    29,    -1,    32,
  454.       -1,    30,    -1,    33,    -1,    34,    -1,    35,    -1,    36,
  455.       -1,    37,    -1,    31,    -1,    38,    -1,    39,    -1,    12,
  456.       -1,    13,    -1,    18,    -1,    17,    -1,    20,    -1,    19,
  457.       -1,    14,    -1,    15,    -1,    16,    -1,     9,    -1,    24,
  458.       -1,    21,    -1,    25,    -1,    22,    -1,     8,    67,    -1,
  459.        8,    24,    69,    21,    -1,     8,     1,    -1,    76,    -1,
  460.       67,    10,    76,    -1,    67,    10,     1,    -1,    31,    -1,
  461.       29,    -1,    32,    -1,    34,    -1,    33,    -1,    38,    -1,
  462.       39,    -1,    20,    -1,    19,    -1,    17,    -1,    18,    -1,
  463.       37,    -1,    36,    -1,    70,    -1,    69,    68,    70,    -1,
  464.       71,    -1,    70,    13,    71,    -1,    70,    14,    71,    -1,
  465.       70,    13,     1,    -1,    70,    14,     1,    -1,    75,    -1,
  466.       71,    12,    75,    -1,    71,     9,    75,    -1,    71,    12,
  467.        1,    -1,    71,     9,     1,    -1,    69,    -1,    72,    11,
  468.       69,    -1,     5,    26,    69,    -1,    73,    11,     5,    26,
  469.       69,    -1,    25,    72,    22,    -1,    25,    73,    22,    -1,
  470.       25,     1,    -1,    66,    -1,    74,    -1,    75,    15,    -1,
  471.       15,    75,    -1,    35,    75,    -1,    14,    75,    -1,    75,
  472.       16,    -1,    16,    75,    -1,     3,    -1,     4,    -1,     6,
  473.       -1,    24,    69,    21,    -1,    24,     1,    -1,     5,    -1,
  474.       66,    -1,    76,    24,    77,    21,    -1,    76,    25,    69,
  475.       22,    -1,    76,    24,     1,    -1,    76,    25,     1,    -1,
  476.       -1,    78,    -1,    69,    -1,    78,    11,    69,    -1,    80,
  477.       -1,    82,    -1,    85,    -1,    88,    -1,    95,    -1,    96,
  478.       -1,    97,    -1,    98,    -1,    99,    -1,    90,    -1,    91,
  479.       -1,    92,    -1,    93,    -1,   100,    -1,   101,    -1,    28,
  480.       -1,    28,     1,    -1,    40,    69,    23,    61,    42,    -1,
  481.       40,    69,    23,    61,    41,    23,    61,    42,    -1,    40,
  482.        1,    -1,    61,    50,    -1,     1,    -1,    49,     5,    24,
  483.       83,    21,    23,    81,    -1,    49,     1,    -1,    -1,    84,
  484.       -1,     5,    -1,    84,    11,     5,    -1,    51,    69,    23,
  485.       86,    54,    -1,    51,    69,    23,     1,    -1,    87,    -1,
  486.       86,    87,    -1,    52,    69,    26,    23,    61,    -1,    52,
  487.        1,    -1,    53,    89,    23,    61,    55,    -1,    53,     1,
  488.       -1,    24,    94,    27,    94,    27,    94,    21,    -1,    24,
  489.       66,    30,    69,    21,    -1,    24,     1,    -1,    56,    69,
  490.       -1,    56,     1,    -1,    57,    -1,    47,    -1,    48,    -1,
  491.       -1,    69,    -1,     1,    -1,    28,    69,    -1,    43,    69,
  492.       -1,    44,    69,    -1,    45,    69,    -1,    46,     5,    -1,
  493.       58,     5,    -1,    58,     6,    -1,    59,    -1,    59,    69,
  494.       -1
  495. };
  496.  
  497. /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
  498. static const unsigned short yyrline[] =
  499. {
  500.        0,   158,   158,   159,   160,   161,   164,   167,   170,   176,
  501.      180,   186,   191,   198,   199,   200,   201,   202,   203,   204,
  502.      205,   206,   207,   208,   209,   210,   211,   212,   213,   214,
  503.      215,   216,   217,   218,   219,   220,   221,   222,   223,   224,
  504.      225,   227,   229,   230,   231,   232,   233,   236,   242,   248,
  505.      254,   260,   266,   272,   273,   274,   275,   276,   277,   278,
  506.      279,   280,   281,   282,   283,   284,   287,   288,   296,   297,
  507.      303,   309,   313,   319,   320,   326,   332,   335,   340,   345,
  508.      352,   358,   367,   373,   379,   385,   386,   387,   393,   399,
  509.      405,   411,   417,   423,   429,   435,   445,   451,   456,   466,
  510.      471,   477,   483,   486,   492,   493,   496,   502,   510,   511,
  511.      512,   513,   514,   515,   516,   517,   518,   519,   520,   521,
  512.      522,   523,   524,   525,   527,   533,   537,   541,   546,   547,
  513.      551,   562,   568,   569,   572,   576,   583,   588,   593,   596,
  514.      602,   606,   611,   615,   620,   624,   630,   635,   638,   643,
  515.      648,   653,   658,   659,   660,   665,   669,   673,   677,   681,
  516.      685,   687,   693,   696
  517. };
  518. #endif
  519.  
  520. #if YYDEBUG || YYERROR_VERBOSE
  521. /* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
  522.    First, the terminals, then, starting at YYNTOKENS, nonterminals. */
  523. static const char *const yytname[] =
  524. {
  525.   "$end", "error", "$undefined", "TOK_NUM", "TOK_FLOAT", "TOK_NAME", 
  526.   "TOK_STRING", "TOK_CHAR", "TOK_DOL", "TOK_DIV", "TOK_DOT", "TOK_COM", 
  527.   "TOK_STAR", "TOK_PLUS", "TOK_MINUS", "TOK_PLUSPLUS", "TOK_MINUSMINUS", 
  528.   "TOK_PLUS_S", "TOK_MINUS_S", "TOK_DIV_S", "TOK_MUL_S", "TOK_CLOSE", 
  529.   "TOK_CLOSEB", "TOK_NL", "TOK_OPEN", "TOK_OPENB", "TOK_COLON", 
  530.   "TOK_SCOL", "TOK_AT", "TOK_EQ", "TOK_IN", "TOK_EQEQ", "TOK_LT", 
  531.   "TOK_NE", "TOK_GT", "TOK_NOT", "TOK_AND", "TOK_OR", "TOK_LTEQ", 
  532.   "TOK_GTEQ", "TOK_IF", "TOK_ELSE", "TOK_ENDIF", "TOK_EMBED", "TOK_EMIT", 
  533.   "TOK_OUTPUT", "TOK_LOCAL", "TOK_PUSH", "TOK_POP", "TOK_FUNCTION", 
  534.   "TOK_ENDFUNCTION", "TOK_SWITCH", "TOK_CASE", "TOK_FOR", "TOK_ENDSWITCH", 
  535.   "TOK_ENDFOR", "TOK_RETURN", "TOK_BREAK", "TOK_USE", "TOK_EXIT", 
  536.   "$accept", "lines", "eol", "cmd", "data_line", "other_token", "dol_exp", 
  537.   "obj", "relop", "exp", "ear", "emul", "array", "record", "constructor", 
  538.   "smp_exp", "objpart", "arglist", "arglist1", "ctl_cmd", "cmd_if", 
  539.   "fun_body", "cmd_function", "param_list", "param_list1", "cmd_switch", 
  540.   "case_list", "case_item", "cmd_for", "forctl", "cmd_return", 
  541.   "cmd_break", "cmd_push", "cmd_pop", "optexp", "cmd_exp", "cmd_embed", 
  542.   "cmd_emit", "cmd_output", "cmd_local", "cmd_use", "cmd_exit", 0
  543. };
  544. #endif
  545.  
  546. # ifdef YYPRINT
  547. /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
  548.    token YYLEX-NUM.  */
  549. static const unsigned short yytoknum[] =
  550. {
  551.        0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
  552.      265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
  553.      275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
  554.      285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
  555.      295,   296,   297,   298,   299,   300,   301,   302,   303,   304,
  556.      305,   306,   307,   308,   309,   310,   311,   312,   313,   314
  557. };
  558. # endif
  559.  
  560. /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
  561. static const unsigned char yyr1[] =
  562. {
  563.        0,    60,    61,    61,    61,    61,    62,    63,    63,    64,
  564.       64,    64,    64,    65,    65,    65,    65,    65,    65,    65,
  565.       65,    65,    65,    65,    65,    65,    65,    65,    65,    65,
  566.       65,    65,    65,    65,    65,    65,    65,    65,    65,    65,
  567.       65,    65,    65,    65,    65,    65,    65,    66,    66,    66,
  568.       67,    67,    67,    68,    68,    68,    68,    68,    68,    68,
  569.       68,    68,    68,    68,    68,    68,    69,    69,    70,    70,
  570.       70,    70,    70,    71,    71,    71,    71,    71,    72,    72,
  571.       73,    73,    74,    74,    74,    75,    75,    75,    75,    75,
  572.       75,    75,    75,    75,    75,    75,    75,    75,    76,    76,
  573.       76,    76,    76,    76,    77,    77,    78,    78,    79,    79,
  574.       79,    79,    79,    79,    79,    79,    79,    79,    79,    79,
  575.       79,    79,    79,    79,    79,    80,    80,    80,    81,    81,
  576.       82,    82,    83,    83,    84,    84,    85,    85,    86,    86,
  577.       87,    87,    88,    88,    89,    89,    89,    90,    90,    91,
  578.       92,    93,    94,    94,    94,    95,    96,    97,    98,    99,
  579.      100,   100,   101,   101
  580. };
  581.  
  582. /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
  583. static const unsigned char yyr2[] =
  584. {
  585.        0,     2,     0,     1,     2,     3,     1,     1,     1,     1,
  586.        1,     2,     2,     1,     1,     1,     1,     1,     1,     1,
  587.        1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
  588.        1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
  589.        1,     1,     1,     1,     1,     1,     1,     2,     4,     2,
  590.        1,     3,     3,     1,     1,     1,     1,     1,     1,     1,
  591.        1,     1,     1,     1,     1,     1,     1,     3,     1,     3,
  592.        3,     3,     3,     1,     3,     3,     3,     3,     1,     3,
  593.        3,     5,     3,     3,     2,     1,     1,     2,     2,     2,
  594.        2,     2,     2,     1,     1,     1,     3,     2,     1,     1,
  595.        4,     4,     3,     3,     0,     1,     1,     3,     1,     1,
  596.        1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
  597.        1,     1,     1,     1,     2,     5,     8,     2,     2,     1,
  598.        7,     2,     0,     1,     1,     3,     5,     4,     1,     2,
  599.        5,     2,     5,     2,     7,     5,     2,     2,     2,     1,
  600.        1,     1,     0,     1,     1,     2,     2,     2,     2,     2,
  601.        2,     2,     1,     2
  602. };
  603.  
  604. /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
  605.    STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
  606.    means the default is an error.  */
  607. static const unsigned char yydefact[] =
  608. {
  609.        2,    13,    14,    15,    16,    17,     0,    42,    18,    21,
  610.       33,    34,    39,    40,    41,    36,    35,    38,    37,    44,
  611.       46,    43,    45,    19,    20,     0,    22,    24,    30,    23,
  612.       25,    26,    27,    28,    29,    31,    32,     0,     0,     0,
  613.        0,     0,   150,   151,     0,     0,     0,     0,   149,     0,
  614.      162,     0,     3,     7,     9,    10,     8,   108,   109,   110,
  615.      111,   117,   118,   119,   120,   112,   113,   114,   115,   116,
  616.      121,   122,    49,    98,     0,    99,    47,    50,   124,    93,
  617.       94,    95,     0,     0,     0,     0,     0,     0,    85,   155,
  618.       66,    68,    86,    73,   127,     0,   156,   157,   158,   159,
  619.      131,     0,     0,   143,     0,     0,   148,   147,   160,   161,
  620.      163,     1,     6,     4,    11,    12,     0,     0,     0,     0,
  621.       90,    88,    92,    97,     0,    84,     0,    78,     0,     0,
  622.       89,    62,    63,    61,    60,    54,    53,    55,    57,    56,
  623.       65,    64,    58,    59,     0,     0,     0,     0,     0,    87,
  624.       91,     2,   132,     0,   146,    85,   153,     0,     2,     5,
  625.       48,    52,    51,   102,   106,     0,   105,   103,     0,    96,
  626.        0,     0,    82,     0,    83,    67,    71,    69,    72,    70,
  627.       77,    75,    76,    74,     0,   134,     0,   133,   137,     0,
  628.        0,   138,     0,     0,     0,   100,     0,   101,    80,    79,
  629.        0,     0,   125,     0,     0,   141,     0,   136,   139,     0,
  630.      154,     0,   142,   107,     0,     2,     0,   135,     0,   145,
  631.        0,    81,     0,   129,     0,   130,     2,     0,   126,   128,
  632.      140,   144
  633. };
  634.  
  635. /* YYDEFGOTO[NTERM-NUM]. */
  636. static const short yydefgoto[] =
  637. {
  638.       -1,    51,   113,    52,    53,    54,    88,    76,   144,   156,
  639.       90,    91,   128,   129,    92,    93,    77,   165,   166,    56,
  640.       57,   225,    58,   186,   187,    59,   190,   191,    60,   105,
  641.       61,    62,    63,    64,   157,    65,    66,    67,    68,    69,
  642.       70,    71
  643. };
  644.  
  645. /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
  646.    STATE-NUM.  */
  647. #define YYPACT_NINF -176
  648. static const short yypact[] =
  649. {
  650.      281,  -176,  -176,  -176,  -176,  -176,    46,  -176,  -176,  -176,
  651.     -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,
  652.     -176,  -176,  -176,  -176,  -176,    83,  -176,  -176,  -176,  -176,
  653.     -176,  -176,  -176,  -176,  -176,  -176,  -176,   402,   616,   616,
  654.      616,    19,  -176,  -176,    59,   616,    10,   427,  -176,    74,
  655.      616,    12,  -176,   338,  -176,  -176,  -176,  -176,  -176,  -176,
  656.     -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,
  657.     -176,  -176,  -176,  -176,   616,  -176,    23,    57,  -176,  -176,
  658.     -176,  -176,   616,   616,   616,   452,    24,   616,  -176,   786,
  659.       79,    64,  -176,    85,  -176,   625,   786,   786,   786,  -176,
  660.     -176,    -5,   648,  -176,   128,    13,  -176,   786,  -176,  -176,
  661.      786,  -176,  -176,   281,  -176,  -176,   671,    70,   163,   477,
  662.       85,    85,    85,  -176,   694,  -176,    17,   786,     9,    35,
  663.       85,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,  -176,
  664.     -176,  -176,  -176,  -176,   616,   502,   527,   552,   577,  -176,
  665.     -176,   281,    47,     6,    45,    44,   786,    58,   281,  -176,
  666.     -176,  -176,    57,  -176,   786,    67,    94,  -176,   717,  -176,
  667.      616,   616,  -176,    91,  -176,    79,  -176,    64,  -176,    64,
  668.     -176,    85,  -176,    85,    14,  -176,    69,    98,  -176,   602,
  669.       11,  -176,   616,   377,   -13,  -176,   616,  -176,   786,   786,
  670.       84,    88,  -176,    89,   109,  -176,   740,  -176,  -176,   763,
  671.     -176,    92,  -176,   786,   616,   281,   224,  -176,    93,  -176,
  672.      188,   786,    -1,  -176,    -6,  -176,   281,    99,  -176,  -176,
  673.      100,  -176
  674. };
  675.  
  676. /* YYPGOTO[NTERM-NUM].  */
  677. static const short yypgoto[] =
  678. {
  679.     -176,  -149,  -176,     2,  -176,    68,     0,  -176,  -176,   -24,
  680.      -22,   -43,  -176,  -176,  -176,   -79,    22,  -176,  -176,  -176,
  681.     -176,  -176,  -176,  -176,  -176,  -176,  -176,   -64,  -176,  -176,
  682.     -176,  -176,  -176,  -176,  -175,  -176,  -176,  -176,  -176,  -176,
  683.     -176,  -176
  684. };
  685.  
  686. /* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
  687.    positive, shift that token.  If negative, reduce the rule which
  688.    number is the opposite.  If zero, do what YYDEFACT says.
  689.    If YYTABLE_NINF, parse error.  */
  690. #define YYTABLE_NINF -155
  691. static const short yytable[] =
  692. {
  693.       55,    89,   184,   120,   121,   122,    75,   188,   130,   194,
  694.      112,   103,   111,    95,    96,    97,    98,   112,   211,   152,
  695.      171,   102,   112,   107,    99,   125,   110,    79,    80,   126,
  696.       81,   172,     6,   117,   104,   112,   158,   112,    82,    83,
  697.       84,   228,   212,   170,   229,   227,   173,    72,    85,    86,
  698.      116,    73,   185,   115,     6,   201,   202,   174,   189,    87,
  699.      100,   124,   127,   189,   101,   207,   222,   224,   181,   183,
  700.       74,   161,  -154,   147,   192,    73,   148,   230,     6,   108,
  701.      109,   118,   119,  -123,    78,   193,    79,    80,   195,    81,
  702.      203,     6,   145,   146,   164,   168,   200,    82,    83,    84,
  703.      149,   150,   177,   179,   155,   196,  -123,    85,    86,   204,
  704.      214,   215,   216,    55,   217,   159,   226,    75,    87,   220,
  705.      231,   114,   175,   112,  -123,  -123,   208,     0,     0,   154,
  706.        0,    79,    80,  -123,    81,  -123,     6,  -123,  -123,   162,
  707.        0,     0,    82,    83,    84,     0,   198,   199,     0,     0,
  708.        0,    55,    85,    86,     0,  -152,     0,     0,    55,     0,
  709.        0,     0,     0,    87,   163,   206,    79,    80,   209,    81,
  710.        0,     6,   213,     0,     0,     0,     0,    82,    83,    84,
  711.        0,     0,     0,     0,  -104,     0,     0,    85,    86,   210,
  712.      221,    79,    80,     0,    81,     0,     6,     0,    87,     0,
  713.        0,     0,    82,    83,    84,     0,     0,     0,     0,  -152,
  714.        0,     0,    85,    86,     0,    55,    55,     0,     0,     0,
  715.        0,     0,     0,    87,     0,   223,    55,     1,     2,     3,
  716.        4,     5,     6,     7,     8,     9,    10,    11,    12,    13,
  717.       14,    15,    16,    17,    18,    19,    20,    -2,    21,    22,
  718.       23,    24,    25,    26,    27,    28,    29,    30,    31,    32,
  719.       33,    34,    35,    36,    37,     0,     0,    38,    39,    40,
  720.       41,    42,    43,    44,    -2,    45,     0,    46,     0,     0,
  721.       47,    48,    49,    50,     1,     2,     3,     4,     5,     6,
  722.        7,     8,     9,    10,    11,    12,    13,    14,    15,    16,
  723.       17,    18,    19,    20,     0,    21,    22,    23,    24,    25,
  724.       26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
  725.       36,    37,     0,     0,    38,    39,    40,    41,    42,    43,
  726.       44,     0,    45,     0,    46,     0,     0,    47,    48,    49,
  727.       50,     1,     2,     3,     4,     5,     6,     7,     8,     9,
  728.       10,    11,    12,    13,    14,    15,    16,    17,    18,    19,
  729.       20,     0,    21,    22,    23,    24,     0,    26,    27,    28,
  730.       29,    30,    31,    32,    33,    34,    35,    36,   210,     0,
  731.       79,    80,     0,    81,     0,     6,     0,     0,     0,     0,
  732.        0,    82,    83,    84,     0,     0,     0,     0,     0,     0,
  733.        0,    85,    86,    94,  -152,    79,    80,     0,    81,     0,
  734.        6,     0,    87,     0,     0,     0,    82,    83,    84,     0,
  735.        0,     0,     0,     0,     0,     0,    85,    86,   106,     0,
  736.       79,    80,     0,    81,     0,     6,     0,    87,     0,     0,
  737.        0,    82,    83,    84,     0,     0,     0,     0,     0,     0,
  738.        0,    85,    86,   123,     0,    79,    80,     0,    81,     0,
  739.        6,     0,    87,     0,     0,     0,    82,    83,    84,     0,
  740.        0,     0,     0,     0,     0,     0,    85,    86,   167,     0,
  741.       79,    80,     0,    81,     0,     6,     0,    87,     0,     0,
  742.        0,    82,    83,    84,     0,     0,     0,     0,     0,     0,
  743.        0,    85,    86,   176,     0,    79,    80,     0,    81,     0,
  744.        6,     0,    87,     0,     0,     0,    82,    83,    84,     0,
  745.        0,     0,     0,     0,     0,     0,    85,    86,   178,     0,
  746.       79,    80,     0,    81,     0,     6,     0,    87,     0,     0,
  747.        0,    82,    83,    84,     0,     0,     0,     0,     0,     0,
  748.        0,    85,    86,   180,     0,    79,    80,     0,    81,     0,
  749.        6,     0,    87,     0,     0,     0,    82,    83,    84,     0,
  750.        0,     0,     0,     0,     0,     0,    85,    86,   182,     0,
  751.       79,    80,     0,    81,     0,     6,     0,    87,     0,     0,
  752.        0,    82,    83,    84,     0,     0,     0,     0,     0,     0,
  753.        0,    85,    86,   205,     0,    79,    80,     0,    81,     0,
  754.        6,     0,    87,     0,     0,     0,    82,    83,    84,    79,
  755.       80,     0,    81,     0,     6,     0,    85,    86,     0,     0,
  756.       82,    83,    84,     0,     0,     0,     0,    87,     0,     0,
  757.       85,    86,   131,   132,   133,   134,     0,     0,   151,     0,
  758.        0,    87,     0,     0,   135,     0,   136,   137,   138,   139,
  759.        0,   140,   141,   142,   143,   131,   132,   133,   134,     0,
  760.        0,   153,     0,     0,     0,     0,     0,   135,     0,   136,
  761.      137,   138,   139,     0,   140,   141,   142,   143,   131,   132,
  762.      133,   134,   160,     0,     0,     0,     0,     0,     0,     0,
  763.      135,     0,   136,   137,   138,   139,     0,   140,   141,   142,
  764.      143,   131,   132,   133,   134,   169,     0,     0,     0,     0,
  765.        0,     0,     0,   135,     0,   136,   137,   138,   139,     0,
  766.      140,   141,   142,   143,   131,   132,   133,   134,     0,   197,
  767.        0,     0,     0,     0,     0,     0,   135,     0,   136,   137,
  768.      138,   139,     0,   140,   141,   142,   143,   131,   132,   133,
  769.      134,     0,     0,     0,     0,     0,   218,     0,     0,   135,
  770.        0,   136,   137,   138,   139,     0,   140,   141,   142,   143,
  771.      131,   132,   133,   134,   219,     0,     0,     0,     0,     0,
  772.        0,     0,   135,     0,   136,   137,   138,   139,     0,   140,
  773.      141,   142,   143,   131,   132,   133,   134,     0,     0,     0,
  774.        0,     0,     0,     0,     0,   135,     0,   136,   137,   138,
  775.      139,     0,   140,   141,   142,   143
  776. };
  777.  
  778. static const short yycheck[] =
  779. {
  780.        0,    25,   151,    82,    83,    84,     6,     1,    87,   158,
  781.       23,     1,     0,    37,    38,    39,    40,    23,   193,    24,
  782.       11,    45,    23,    47,     5,     1,    50,     3,     4,     5,
  783.        6,    22,     8,    10,    24,    23,    23,    23,    14,    15,
  784.       16,    42,    55,    26,    50,   220,    11,     1,    24,    25,
  785.       74,     5,     5,    53,     8,    41,    42,    22,    52,    35,
  786.        1,    85,    86,    52,     5,    54,   215,   216,   147,   148,
  787.       24,     1,    27,     9,    30,     5,    12,   226,     8,     5,
  788.        6,    24,    25,     0,     1,    27,     3,     4,    21,     6,
  789.       21,     8,    13,    14,   118,   119,     5,    14,    15,    16,
  790.       15,    16,   145,   146,   104,    11,    23,    24,    25,    11,
  791.       26,    23,    23,   113,     5,   113,    23,   117,    35,    27,
  792.       21,    53,   144,    23,    41,    42,   190,    -1,    -1,     1,
  793.       -1,     3,     4,    50,     6,    52,     8,    54,    55,   117,
  794.       -1,    -1,    14,    15,    16,    -1,   170,   171,    -1,    -1,
  795.       -1,   151,    24,    25,    -1,    27,    -1,    -1,   158,    -1,
  796.       -1,    -1,    -1,    35,     1,   189,     3,     4,   192,     6,
  797.       -1,     8,   196,    -1,    -1,    -1,    -1,    14,    15,    16,
  798.       -1,    -1,    -1,    -1,    21,    -1,    -1,    24,    25,     1,
  799.      214,     3,     4,    -1,     6,    -1,     8,    -1,    35,    -1,
  800.       -1,    -1,    14,    15,    16,    -1,    -1,    -1,    -1,    21,
  801.       -1,    -1,    24,    25,    -1,   215,   216,    -1,    -1,    -1,
  802.       -1,    -1,    -1,    35,    -1,     1,   226,     3,     4,     5,
  803.        6,     7,     8,     9,    10,    11,    12,    13,    14,    15,
  804.       16,    17,    18,    19,    20,    21,    22,    23,    24,    25,
  805.       26,    27,    28,    29,    30,    31,    32,    33,    34,    35,
  806.       36,    37,    38,    39,    40,    -1,    -1,    43,    44,    45,
  807.       46,    47,    48,    49,    50,    51,    -1,    53,    -1,    -1,
  808.       56,    57,    58,    59,     3,     4,     5,     6,     7,     8,
  809.        9,    10,    11,    12,    13,    14,    15,    16,    17,    18,
  810.       19,    20,    21,    22,    -1,    24,    25,    26,    27,    28,
  811.       29,    30,    31,    32,    33,    34,    35,    36,    37,    38,
  812.       39,    40,    -1,    -1,    43,    44,    45,    46,    47,    48,
  813.       49,    -1,    51,    -1,    53,    -1,    -1,    56,    57,    58,
  814.       59,     3,     4,     5,     6,     7,     8,     9,    10,    11,
  815.       12,    13,    14,    15,    16,    17,    18,    19,    20,    21,
  816.       22,    -1,    24,    25,    26,    27,    -1,    29,    30,    31,
  817.       32,    33,    34,    35,    36,    37,    38,    39,     1,    -1,
  818.        3,     4,    -1,     6,    -1,     8,    -1,    -1,    -1,    -1,
  819.       -1,    14,    15,    16,    -1,    -1,    -1,    -1,    -1,    -1,
  820.       -1,    24,    25,     1,    27,     3,     4,    -1,     6,    -1,
  821.        8,    -1,    35,    -1,    -1,    -1,    14,    15,    16,    -1,
  822.       -1,    -1,    -1,    -1,    -1,    -1,    24,    25,     1,    -1,
  823.        3,     4,    -1,     6,    -1,     8,    -1,    35,    -1,    -1,
  824.       -1,    14,    15,    16,    -1,    -1,    -1,    -1,    -1,    -1,
  825.       -1,    24,    25,     1,    -1,     3,     4,    -1,     6,    -1,
  826.        8,    -1,    35,    -1,    -1,    -1,    14,    15,    16,    -1,
  827.       -1,    -1,    -1,    -1,    -1,    -1,    24,    25,     1,    -1,
  828.        3,     4,    -1,     6,    -1,     8,    -1,    35,    -1,    -1,
  829.       -1,    14,    15,    16,    -1,    -1,    -1,    -1,    -1,    -1,
  830.       -1,    24,    25,     1,    -1,     3,     4,    -1,     6,    -1,
  831.        8,    -1,    35,    -1,    -1,    -1,    14,    15,    16,    -1,
  832.       -1,    -1,    -1,    -1,    -1,    -1,    24,    25,     1,    -1,
  833.        3,     4,    -1,     6,    -1,     8,    -1,    35,    -1,    -1,
  834.       -1,    14,    15,    16,    -1,    -1,    -1,    -1,    -1,    -1,
  835.       -1,    24,    25,     1,    -1,     3,     4,    -1,     6,    -1,
  836.        8,    -1,    35,    -1,    -1,    -1,    14,    15,    16,    -1,
  837.       -1,    -1,    -1,    -1,    -1,    -1,    24,    25,     1,    -1,
  838.        3,     4,    -1,     6,    -1,     8,    -1,    35,    -1,    -1,
  839.       -1,    14,    15,    16,    -1,    -1,    -1,    -1,    -1,    -1,
  840.       -1,    24,    25,     1,    -1,     3,     4,    -1,     6,    -1,
  841.        8,    -1,    35,    -1,    -1,    -1,    14,    15,    16,     3,
  842.        4,    -1,     6,    -1,     8,    -1,    24,    25,    -1,    -1,
  843.       14,    15,    16,    -1,    -1,    -1,    -1,    35,    -1,    -1,
  844.       24,    25,    17,    18,    19,    20,    -1,    -1,    23,    -1,
  845.       -1,    35,    -1,    -1,    29,    -1,    31,    32,    33,    34,
  846.       -1,    36,    37,    38,    39,    17,    18,    19,    20,    -1,
  847.       -1,    23,    -1,    -1,    -1,    -1,    -1,    29,    -1,    31,
  848.       32,    33,    34,    -1,    36,    37,    38,    39,    17,    18,
  849.       19,    20,    21,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
  850.       29,    -1,    31,    32,    33,    34,    -1,    36,    37,    38,
  851.       39,    17,    18,    19,    20,    21,    -1,    -1,    -1,    -1,
  852.       -1,    -1,    -1,    29,    -1,    31,    32,    33,    34,    -1,
  853.       36,    37,    38,    39,    17,    18,    19,    20,    -1,    22,
  854.       -1,    -1,    -1,    -1,    -1,    -1,    29,    -1,    31,    32,
  855.       33,    34,    -1,    36,    37,    38,    39,    17,    18,    19,
  856.       20,    -1,    -1,    -1,    -1,    -1,    26,    -1,    -1,    29,
  857.       -1,    31,    32,    33,    34,    -1,    36,    37,    38,    39,
  858.       17,    18,    19,    20,    21,    -1,    -1,    -1,    -1,    -1,
  859.       -1,    -1,    29,    -1,    31,    32,    33,    34,    -1,    36,
  860.       37,    38,    39,    17,    18,    19,    20,    -1,    -1,    -1,
  861.       -1,    -1,    -1,    -1,    -1,    29,    -1,    31,    32,    33,
  862.       34,    -1,    36,    37,    38,    39
  863. };
  864.  
  865. /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
  866.    symbol of state STATE-NUM.  */
  867. static const unsigned char yystos[] =
  868. {
  869.        0,     3,     4,     5,     6,     7,     8,     9,    10,    11,
  870.       12,    13,    14,    15,    16,    17,    18,    19,    20,    21,
  871.       22,    24,    25,    26,    27,    28,    29,    30,    31,    32,
  872.       33,    34,    35,    36,    37,    38,    39,    40,    43,    44,
  873.       45,    46,    47,    48,    49,    51,    53,    56,    57,    58,
  874.       59,    61,    63,    64,    65,    66,    79,    80,    82,    85,
  875.       88,    90,    91,    92,    93,    95,    96,    97,    98,    99,
  876.      100,   101,     1,     5,    24,    66,    67,    76,     1,     3,
  877.        4,     6,    14,    15,    16,    24,    25,    35,    66,    69,
  878.       70,    71,    74,    75,     1,    69,    69,    69,    69,     5,
  879.        1,     5,    69,     1,    24,    89,     1,    69,     5,     6,
  880.       69,     0,    23,    62,    65,    66,    69,    10,    24,    25,
  881.       75,    75,    75,     1,    69,     1,     5,    69,    72,    73,
  882.       75,    17,    18,    19,    20,    29,    31,    32,    33,    34,
  883.       36,    37,    38,    39,    68,    13,    14,     9,    12,    15,
  884.       16,    23,    24,    23,     1,    66,    69,    94,    23,    63,
  885.       21,     1,    76,     1,    69,    77,    78,     1,    69,    21,
  886.       26,    11,    22,    11,    22,    70,     1,    71,     1,    71,
  887.        1,    75,     1,    75,    61,     5,    83,    84,     1,    52,
  888.       86,    87,    30,    27,    61,    21,    11,    22,    69,    69,
  889.        5,    41,    42,    21,    11,     1,    69,    54,    87,    69,
  890.        1,    94,    55,    69,    26,    23,    23,     5,    26,    21,
  891.       27,    69,    61,     1,    61,    81,    23,    94,    42,    50,
  892.       61,    21
  893. };
  894.  
  895. #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
  896. # define YYSIZE_T __SIZE_TYPE__
  897. #endif
  898. #if ! defined (YYSIZE_T) && defined (size_t)
  899. # define YYSIZE_T size_t
  900. #endif
  901. #if ! defined (YYSIZE_T)
  902. # if defined (__STDC__) || defined (__cplusplus)
  903. #  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
  904. #  define YYSIZE_T size_t
  905. # endif
  906. #endif
  907. #if ! defined (YYSIZE_T)
  908. # define YYSIZE_T unsigned int
  909. #endif
  910.  
  911. #define yyerrok        (yyerrstatus = 0)
  912. #define yyclearin    (yychar = YYEMPTY)
  913. #define YYEMPTY        -2
  914. #define YYEOF        0
  915.  
  916. #define YYACCEPT    goto yyacceptlab
  917. #define YYABORT        goto yyabortlab
  918. #define YYERROR        goto yyerrlab1
  919.  
  920. /* Like YYERROR except do call yyerror.  This remains here temporarily
  921.    to ease the transition to the new meaning of YYERROR, for GCC.
  922.    Once GCC version 2 has supplanted version 1, this can go.  */
  923.  
  924. #define YYFAIL        goto yyerrlab
  925.  
  926. #define YYRECOVERING()  (!!yyerrstatus)
  927.  
  928. #define YYBACKUP(Token, Value)                    \
  929. do                                \
  930.   if (yychar == YYEMPTY && yylen == 1)                \
  931.     {                                \
  932.       yychar = (Token);                        \
  933.       yylval = (Value);                        \
  934.       yychar1 = YYTRANSLATE (yychar);                \
  935.       YYPOPSTACK;                        \
  936.       goto yybackup;                        \
  937.     }                                \
  938.   else                                \
  939.     {                                 \
  940.       yyerror ("syntax error: cannot back up");            \
  941.       YYERROR;                            \
  942.     }                                \
  943. while (0)
  944.  
  945. #define YYTERROR    1
  946. #define YYERRCODE    256
  947.  
  948. /* YYLLOC_DEFAULT -- Compute the default location (before the actions
  949.    are run).  */
  950.  
  951. #ifndef YYLLOC_DEFAULT
  952. # define YYLLOC_DEFAULT(Current, Rhs, N)           \
  953.   Current.first_line   = Rhs[1].first_line;      \
  954.   Current.first_column = Rhs[1].first_column;    \
  955.   Current.last_line    = Rhs[N].last_line;       \
  956.   Current.last_column  = Rhs[N].last_column;
  957. #endif
  958.  
  959. /* YYLEX -- calling `yylex' with the right arguments.  */
  960.  
  961. #define YYLEX    yylex ()
  962.  
  963. /* Enable debugging if requested.  */
  964. #if YYDEBUG
  965.  
  966. # ifndef YYFPRINTF
  967. #  include <stdio.h> /* INFRINGES ON USER NAME SPACE */
  968. #  define YYFPRINTF fprintf
  969. # endif
  970.  
  971. # define YYDPRINTF(Args)            \
  972. do {                        \
  973.   if (yydebug)                    \
  974.     YYFPRINTF Args;                \
  975. } while (0)
  976. # define YYDSYMPRINT(Args)            \
  977. do {                        \
  978.   if (yydebug)                    \
  979.     yysymprint Args;                \
  980. } while (0)
  981. /* Nonzero means print parse trace.  It is left uninitialized so that
  982.    multiple parsers can coexist.  */
  983. int yydebug;
  984. #else /* !YYDEBUG */
  985. # define YYDPRINTF(Args)
  986. # define YYDSYMPRINT(Args)
  987. #endif /* !YYDEBUG */
  988.  
  989. /* YYINITDEPTH -- initial size of the parser's stacks.  */
  990. #ifndef    YYINITDEPTH
  991. # define YYINITDEPTH 200
  992. #endif
  993.  
  994. /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
  995.    if the built-in stack extension method is used).
  996.  
  997.    Do not make this value too large; the results are undefined if
  998.    SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
  999.    evaluated with infinite-precision integer arithmetic.  */
  1000.  
  1001. #if YYMAXDEPTH == 0
  1002. # undef YYMAXDEPTH
  1003. #endif
  1004.  
  1005. #ifndef YYMAXDEPTH
  1006. # define YYMAXDEPTH 10000
  1007. #endif
  1008.  
  1009.  
  1010.  
  1011. #if YYERROR_VERBOSE
  1012.  
  1013. # ifndef yystrlen
  1014. #  if defined (__GLIBC__) && defined (_STRING_H)
  1015. #   define yystrlen strlen
  1016. #  else
  1017. /* Return the length of YYSTR.  */
  1018. static YYSIZE_T
  1019. #   if defined (__STDC__) || defined (__cplusplus)
  1020. yystrlen (const char *yystr)
  1021. #   else
  1022. yystrlen (yystr)
  1023.      const char *yystr;
  1024. #   endif
  1025. {
  1026.   register const char *yys = yystr;
  1027.  
  1028.   while (*yys++ != '\0')
  1029.     continue;
  1030.  
  1031.   return yys - yystr - 1;
  1032. }
  1033. #  endif
  1034. # endif
  1035.  
  1036. # ifndef yystpcpy
  1037. #  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)
  1038. #   define yystpcpy stpcpy
  1039. #  else
  1040. /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
  1041.    YYDEST.  */
  1042. static char *
  1043. #   if defined (__STDC__) || defined (__cplusplus)
  1044. yystpcpy (char *yydest, const char *yysrc)
  1045. #   else
  1046. yystpcpy (yydest, yysrc)
  1047.      char *yydest;
  1048.      const char *yysrc;
  1049. #   endif
  1050. {
  1051.   register char *yyd = yydest;
  1052.   register const char *yys = yysrc;
  1053.  
  1054.   while ((*yyd++ = *yys++) != '\0')
  1055.     continue;
  1056.  
  1057.   return yyd - 1;
  1058. }
  1059. #  endif
  1060. # endif
  1061.  
  1062. #endif /* !YYERROR_VERBOSE */
  1063.  
  1064.  
  1065.  
  1066. #if YYDEBUG
  1067. /*-----------------------------.
  1068. | Print this symbol on YYOUT.  |
  1069. `-----------------------------*/
  1070.  
  1071. static void
  1072. #if defined (__STDC__) || defined (__cplusplus)
  1073. yysymprint (FILE* yyout, int yytype, YYSTYPE yyvalue)
  1074. #else
  1075. yysymprint (yyout, yytype, yyvalue)
  1076.     FILE* yyout;
  1077.     int yytype;
  1078.     YYSTYPE yyvalue;
  1079. #endif
  1080. {
  1081.   /* Pacify ``unused variable'' warnings.  */
  1082.   (void) yyvalue;
  1083.  
  1084.   if (yytype < YYNTOKENS)
  1085.     {
  1086.       YYFPRINTF (yyout, "token %s (", yytname[yytype]);
  1087. # ifdef YYPRINT
  1088.       YYPRINT (yyout, yytoknum[yytype], yyvalue);
  1089. # endif
  1090.     }
  1091.   else
  1092.     YYFPRINTF (yyout, "nterm %s (", yytname[yytype]);
  1093.  
  1094.   switch (yytype)
  1095.     {
  1096.       default:
  1097.         break;
  1098.     }
  1099.   YYFPRINTF (yyout, ")");
  1100. }
  1101. #endif /* YYDEBUG. */
  1102.  
  1103.  
  1104. /*-----------------------------------------------.
  1105. | Release the memory associated to this symbol.  |
  1106. `-----------------------------------------------*/
  1107.  
  1108. static void
  1109. #if defined (__STDC__) || defined (__cplusplus)
  1110. yydestruct (int yytype, YYSTYPE yyvalue)
  1111. #else
  1112. yydestruct (yytype, yyvalue)
  1113.     int yytype;
  1114.     YYSTYPE yyvalue;
  1115. #endif
  1116. {
  1117.   /* Pacify ``unused variable'' warnings.  */
  1118.   (void) yyvalue;
  1119.  
  1120.   switch (yytype)
  1121.     {
  1122.       default:
  1123.         break;
  1124.     }
  1125. }
  1126.  
  1127.  
  1128.  
  1129. /* The user can define YYPARSE_PARAM as the name of an argument to be passed
  1130.    into yyparse.  The argument should have type void *.
  1131.    It should actually point to an object.
  1132.    Grammar actions can access the variable by casting it
  1133.    to the proper pointer type.  */
  1134.  
  1135. #ifdef YYPARSE_PARAM
  1136. # if defined (__STDC__) || defined (__cplusplus)
  1137. #  define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
  1138. #  define YYPARSE_PARAM_DECL
  1139. # else
  1140. #  define YYPARSE_PARAM_ARG YYPARSE_PARAM
  1141. #  define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
  1142. # endif
  1143. #else /* !YYPARSE_PARAM */
  1144. # define YYPARSE_PARAM_ARG
  1145. # define YYPARSE_PARAM_DECL
  1146. #endif /* !YYPARSE_PARAM */
  1147.  
  1148. /* Prevent warning if -Wstrict-prototypes.  */
  1149. #ifdef __GNUC__
  1150. # ifdef YYPARSE_PARAM
  1151. int yyparse (void *);
  1152. # else
  1153. int yyparse (void);
  1154. # endif
  1155. #endif
  1156.  
  1157.  
  1158. /* The lookahead symbol.  */
  1159. int yychar;
  1160.  
  1161. /* The semantic value of the lookahead symbol.  */
  1162. YYSTYPE yylval;
  1163.  
  1164. /* Number of parse errors so far.  */
  1165. int yynerrs;
  1166.  
  1167.  
  1168. int
  1169. yyparse (YYPARSE_PARAM_ARG)
  1170.      YYPARSE_PARAM_DECL
  1171. {
  1172.   
  1173.   register int yystate;
  1174.   register int yyn;
  1175.   int yyresult;
  1176.   /* Number of tokens to shift before error messages enabled.  */
  1177.   int yyerrstatus;
  1178.   /* Lookahead token as an internal (translated) token number.  */
  1179.   int yychar1 = 0;
  1180.  
  1181.   /* Three stacks and their tools:
  1182.      `yyss': related to states,
  1183.      `yyvs': related to semantic values,
  1184.      `yyls': related to locations.
  1185.  
  1186.      Refer to the stacks thru separate pointers, to allow yyoverflow
  1187.      to reallocate them elsewhere.  */
  1188.  
  1189.   /* The state stack.  */
  1190.   short    yyssa[YYINITDEPTH];
  1191.   short *yyss = yyssa;
  1192.   register short *yyssp;
  1193.  
  1194.   /* The semantic value stack.  */
  1195.   YYSTYPE yyvsa[YYINITDEPTH];
  1196.   YYSTYPE *yyvs = yyvsa;
  1197.   register YYSTYPE *yyvsp;
  1198.  
  1199.  
  1200.  
  1201. #define YYPOPSTACK   (yyvsp--, yyssp--)
  1202.  
  1203.   YYSIZE_T yystacksize = YYINITDEPTH;
  1204.  
  1205.   /* The variables used to return semantic value and location from the
  1206.      action routines.  */
  1207.   YYSTYPE yyval;
  1208.  
  1209.  
  1210.   /* When reducing, the number of symbols on the RHS of the reduced
  1211.      rule.  */
  1212.   int yylen;
  1213.  
  1214.   YYDPRINTF ((stderr, "Starting parse\n"));
  1215.  
  1216.   yystate = 0;
  1217.   yyerrstatus = 0;
  1218.   yynerrs = 0;
  1219.   yychar = YYEMPTY;        /* Cause a token to be read.  */
  1220.  
  1221.   /* Initialize stack pointers.
  1222.      Waste one element of value and location stack
  1223.      so that they stay on the same level as the state stack.
  1224.      The wasted elements are never initialized.  */
  1225.  
  1226.   yyssp = yyss;
  1227.   yyvsp = yyvs;
  1228.  
  1229.   goto yysetstate;
  1230.  
  1231. /*------------------------------------------------------------.
  1232. | yynewstate -- Push a new state, which is found in yystate.  |
  1233. `------------------------------------------------------------*/
  1234.  yynewstate:
  1235.   /* In all cases, when you get here, the value and location stacks
  1236.      have just been pushed. so pushing a state here evens the stacks.
  1237.      */
  1238.   yyssp++;
  1239.  
  1240.  yysetstate:
  1241.   *yyssp = yystate;
  1242.  
  1243.   if (yyssp >= yyss + yystacksize - 1)
  1244.     {
  1245.       /* Get the current used size of the three stacks, in elements.  */
  1246.       YYSIZE_T yysize = yyssp - yyss + 1;
  1247.  
  1248. #ifdef yyoverflow
  1249.       {
  1250.     /* Give user a chance to reallocate the stack. Use copies of
  1251.        these so that the &'s don't force the real ones into
  1252.        memory.  */
  1253.     YYSTYPE *yyvs1 = yyvs;
  1254.     short *yyss1 = yyss;
  1255.  
  1256.  
  1257.     /* Each stack pointer address is followed by the size of the
  1258.        data in use in that stack, in bytes.  This used to be a
  1259.        conditional around just the two extra args, but that might
  1260.        be undefined if yyoverflow is a macro.  */
  1261.     yyoverflow ("parser stack overflow",
  1262.             &yyss1, yysize * sizeof (*yyssp),
  1263.             &yyvs1, yysize * sizeof (*yyvsp),
  1264.  
  1265.             &yystacksize);
  1266.  
  1267.     yyss = yyss1;
  1268.     yyvs = yyvs1;
  1269.       }
  1270. #else /* no yyoverflow */
  1271. # ifndef YYSTACK_RELOCATE
  1272.       goto yyoverflowlab;
  1273. # else
  1274.       /* Extend the stack our own way.  */
  1275.       if (yystacksize >= YYMAXDEPTH)
  1276.     goto yyoverflowlab;
  1277.       yystacksize *= 2;
  1278.       if (yystacksize > YYMAXDEPTH)
  1279.     yystacksize = YYMAXDEPTH;
  1280.  
  1281.       {
  1282.     short *yyss1 = yyss;
  1283.     union yyalloc *yyptr =
  1284.       (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
  1285.     if (! yyptr)
  1286.       goto yyoverflowlab;
  1287.     YYSTACK_RELOCATE (yyss);
  1288.     YYSTACK_RELOCATE (yyvs);
  1289.  
  1290. #  undef YYSTACK_RELOCATE
  1291.     if (yyss1 != yyssa)
  1292.       YYSTACK_FREE (yyss1);
  1293.       }
  1294. # endif
  1295. #endif /* no yyoverflow */
  1296.  
  1297.       yyssp = yyss + yysize - 1;
  1298.       yyvsp = yyvs + yysize - 1;
  1299.  
  1300.  
  1301.       YYDPRINTF ((stderr, "Stack size increased to %lu\n",
  1302.           (unsigned long int) yystacksize));
  1303.  
  1304.       if (yyssp >= yyss + yystacksize - 1)
  1305.     YYABORT;
  1306.     }
  1307.  
  1308.   YYDPRINTF ((stderr, "Entering state %d\n", yystate));
  1309.  
  1310.   goto yybackup;
  1311.  
  1312. /*-----------.
  1313. | yybackup.  |
  1314. `-----------*/
  1315. yybackup:
  1316.  
  1317. /* Do appropriate processing given the current state.  */
  1318. /* Read a lookahead token if we need one and don't already have one.  */
  1319. /* yyresume: */
  1320.  
  1321.   /* First try to decide what to do without reference to lookahead token.  */
  1322.  
  1323.   yyn = yypact[yystate];
  1324.   if (yyn == YYPACT_NINF)
  1325.     goto yydefault;
  1326.  
  1327.   /* Not known => get a lookahead token if don't already have one.  */
  1328.  
  1329.   /* yychar is either YYEMPTY or YYEOF
  1330.      or a valid token in external form.  */
  1331.  
  1332.   if (yychar == YYEMPTY)
  1333.     {
  1334.       YYDPRINTF ((stderr, "Reading a token: "));
  1335.       yychar = YYLEX;
  1336.     }
  1337.  
  1338.   /* Convert token to internal form (in yychar1) for indexing tables with.  */
  1339.  
  1340.   if (yychar <= 0)        /* This means end of input.  */
  1341.     {
  1342.       yychar1 = 0;
  1343.       yychar = YYEOF;        /* Don't call YYLEX any more.  */
  1344.  
  1345.       YYDPRINTF ((stderr, "Now at end of input.\n"));
  1346.     }
  1347.   else
  1348.     {
  1349.       yychar1 = YYTRANSLATE (yychar);
  1350.  
  1351.       /* We have to keep this `#if YYDEBUG', since we use variables
  1352.      which are defined only if `YYDEBUG' is set.  */
  1353.       YYDPRINTF ((stderr, "Next token is "));
  1354.       YYDSYMPRINT ((stderr, yychar1, yylval));
  1355.       YYDPRINTF ((stderr, "\n"));
  1356.     }
  1357.  
  1358.   /* If the proper action on seeing token YYCHAR1 is to reduce or to
  1359.      detect an error, take that action.  */
  1360.   yyn += yychar1;
  1361.   if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yychar1)
  1362.     goto yydefault;
  1363.   yyn = yytable[yyn];
  1364.   if (yyn <= 0)
  1365.     {
  1366.       if (yyn == 0 || yyn == YYTABLE_NINF)
  1367.     goto yyerrlab;
  1368.       yyn = -yyn;
  1369.       goto yyreduce;
  1370.     }
  1371.  
  1372.   if (yyn == YYFINAL)
  1373.     YYACCEPT;
  1374.  
  1375.   /* Shift the lookahead token.  */
  1376.   YYDPRINTF ((stderr, "Shifting token %d (%s), ",
  1377.           yychar, yytname[yychar1]));
  1378.  
  1379.   /* Discard the token being shifted unless it is eof.  */
  1380.   if (yychar != YYEOF)
  1381.     yychar = YYEMPTY;
  1382.  
  1383.   *++yyvsp = yylval;
  1384.  
  1385.  
  1386.   /* Count tokens shifted since error; after three, turn off error
  1387.      status.  */
  1388.   if (yyerrstatus)
  1389.     yyerrstatus--;
  1390.  
  1391.   yystate = yyn;
  1392.   goto yynewstate;
  1393.  
  1394.  
  1395. /*-----------------------------------------------------------.
  1396. | yydefault -- do the default action for the current state.  |
  1397. `-----------------------------------------------------------*/
  1398. yydefault:
  1399.   yyn = yydefact[yystate];
  1400.   if (yyn == 0)
  1401.     goto yyerrlab;
  1402.   goto yyreduce;
  1403.  
  1404.  
  1405. /*-----------------------------.
  1406. | yyreduce -- Do a reduction.  |
  1407. `-----------------------------*/
  1408. yyreduce:
  1409.   /* yyn is the number of a rule to reduce with.  */
  1410.   yylen = yyr2[yyn];
  1411.  
  1412.   /* If YYLEN is nonzero, implement the default value of the action:
  1413.      `$$ = $1'.
  1414.  
  1415.      Otherwise, the following line sets YYVAL to garbage.
  1416.      This behavior is undocumented and Bison
  1417.      users should not rely upon it.  Assigning to YYVAL
  1418.      unconditionally makes the parser a bit smaller, and it avoids a
  1419.      GCC warning that YYVAL may be used uninitialized.  */
  1420.   yyval = yyvsp[1-yylen];
  1421.  
  1422.  
  1423.  
  1424. #if YYDEBUG
  1425.   /* We have to keep this `#if YYDEBUG', since we use variables which
  1426.      are defined only if `YYDEBUG' is set.  */
  1427.   if (yydebug)
  1428.     {
  1429.       int yyi;
  1430.  
  1431.       YYFPRINTF (stderr, "Reducing via rule %d (line %d), ",
  1432.          yyn - 1, yyrline[yyn]);
  1433.  
  1434.       /* Print the symbols being reduced, and their result.  */
  1435.       for (yyi = yyprhs[yyn]; yyrhs[yyi] >= 0; yyi++)
  1436.     YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);
  1437.       YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]);
  1438.     }
  1439. #endif
  1440.   switch (yyn)
  1441.     {
  1442.         case 6:
  1443. #line 164 "tg.y"
  1444.     { close_line( yyvsp[0].s.line, yyvsp[0].s.end ); }
  1445.     break;
  1446.  
  1447.   case 7:
  1448. #line 167 "tg.y"
  1449.     {          
  1450.                                     lt_set( line_table, yyvsp[0].l.line, yyvsp[0].l.cmd );
  1451.                                   }
  1452.     break;
  1453.  
  1454.   case 8:
  1455. #line 170 "tg.y"
  1456.     { 
  1457.                                     add_cmd( line_table, yyvsp[0].l.line, yyvsp[0].l.cmd );
  1458.                                   }
  1459.     break;
  1460.  
  1461.   case 9:
  1462. #line 176 "tg.y"
  1463.     { 
  1464.                                     yyval.l.line = yyvsp[0].s.line; 
  1465.                                     yyval.l.cmd = build_lcmd_c(0, yyvsp[0].s.start, yyvsp[0].s.end);
  1466.                                   }
  1467.     break;
  1468.  
  1469.   case 10:
  1470. #line 180 "tg.y"
  1471.     { 
  1472.                                     /* dump_expression( .val ); */
  1473.                                     yyval.l.line = yyvsp[0].p.line; 
  1474.                                     yyval.l.cmd = build_lcmd_e(0, yyvsp[0].p.val, yyvsp[0].p.start, 
  1475.                                             yyvsp[0].p.end);
  1476.                                   }
  1477.     break;
  1478.  
  1479.   case 11:
  1480. #line 186 "tg.y"
  1481.     { 
  1482.                                     yyval.l.line = yyvsp[-1].l.line;
  1483.                                     yyval.l.cmd = build_lcmd_c(yyvsp[-1].l.cmd, 
  1484.                                             yyvsp[0].s.start, yyvsp[0].s.end);
  1485.                                   }
  1486.     break;
  1487.  
  1488.   case 12:
  1489. #line 191 "tg.y"
  1490.     { 
  1491.                                     /* dump_expression( .val ); */
  1492.                                     yyval.l.line = yyvsp[-1].l.line; 
  1493.                                     yyval.l.cmd = build_lcmd_e(yyvsp[-1].l.cmd, yyvsp[0].p.val, yyvsp[0].p.start, yyvsp[0].p.end);
  1494.                                   }
  1495.     break;
  1496.  
  1497.   case 13:
  1498. #line 198 "tg.y"
  1499.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1500.     break;
  1501.  
  1502.   case 14:
  1503. #line 199 "tg.y"
  1504.     { yyval.s.line=yyvsp[0].f.line;yyval.s.start=yyvsp[0].f.start;yyval.s.end=yyvsp[0].f.end; }
  1505.     break;
  1506.  
  1507.   case 15:
  1508. #line 200 "tg.y"
  1509.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1510.     break;
  1511.  
  1512.   case 16:
  1513. #line 201 "tg.y"
  1514.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1515.     break;
  1516.  
  1517.   case 17:
  1518. #line 202 "tg.y"
  1519.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1520.     break;
  1521.  
  1522.   case 18:
  1523. #line 203 "tg.y"
  1524.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1525.     break;
  1526.  
  1527.   case 19:
  1528. #line 204 "tg.y"
  1529.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1530.     break;
  1531.  
  1532.   case 20:
  1533. #line 205 "tg.y"
  1534.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1535.     break;
  1536.  
  1537.   case 21:
  1538. #line 206 "tg.y"
  1539.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1540.     break;
  1541.  
  1542.   case 22:
  1543. #line 207 "tg.y"
  1544.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1545.     break;
  1546.  
  1547.   case 23:
  1548. #line 208 "tg.y"
  1549.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1550.     break;
  1551.  
  1552.   case 24:
  1553. #line 209 "tg.y"
  1554.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1555.     break;
  1556.  
  1557.   case 25:
  1558. #line 210 "tg.y"
  1559.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1560.     break;
  1561.  
  1562.   case 26:
  1563. #line 211 "tg.y"
  1564.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1565.     break;
  1566.  
  1567.   case 27:
  1568. #line 212 "tg.y"
  1569.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1570.     break;
  1571.  
  1572.   case 28:
  1573. #line 213 "tg.y"
  1574.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1575.     break;
  1576.  
  1577.   case 29:
  1578. #line 214 "tg.y"
  1579.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1580.     break;
  1581.  
  1582.   case 30:
  1583. #line 215 "tg.y"
  1584.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1585.     break;
  1586.  
  1587.   case 31:
  1588. #line 216 "tg.y"
  1589.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1590.     break;
  1591.  
  1592.   case 32:
  1593. #line 217 "tg.y"
  1594.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1595.     break;
  1596.  
  1597.   case 33:
  1598. #line 218 "tg.y"
  1599.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1600.     break;
  1601.  
  1602.   case 34:
  1603. #line 219 "tg.y"
  1604.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1605.     break;
  1606.  
  1607.   case 35:
  1608. #line 220 "tg.y"
  1609.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1610.     break;
  1611.  
  1612.   case 36:
  1613. #line 221 "tg.y"
  1614.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1615.     break;
  1616.  
  1617.   case 37:
  1618. #line 222 "tg.y"
  1619.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1620.     break;
  1621.  
  1622.   case 38:
  1623. #line 223 "tg.y"
  1624.     { yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1625.     break;
  1626.  
  1627.   case 39:
  1628. #line 224 "tg.y"
  1629.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1630.     break;
  1631.  
  1632.   case 40:
  1633. #line 225 "tg.y"
  1634.     {
  1635.                             yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1636.     break;
  1637.  
  1638.   case 41:
  1639. #line 227 "tg.y"
  1640.     { 
  1641.                             yyval.s.line=yyvsp[0].i.line;yyval.s.start=yyvsp[0].i.start;yyval.s.end=yyvsp[0].i.end; }
  1642.     break;
  1643.  
  1644.   case 42:
  1645. #line 229 "tg.y"
  1646.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1647.     break;
  1648.  
  1649.   case 43:
  1650. #line 230 "tg.y"
  1651.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1652.     break;
  1653.  
  1654.   case 44:
  1655. #line 231 "tg.y"
  1656.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1657.     break;
  1658.  
  1659.   case 45:
  1660. #line 232 "tg.y"
  1661.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1662.     break;
  1663.  
  1664.   case 46:
  1665. #line 233 "tg.y"
  1666.     { yyval.s.line=yyvsp[0].s.line;yyval.s.start=yyvsp[0].s.start;yyval.s.end=yyvsp[0].s.end; }
  1667.     break;
  1668.  
  1669.   case 47:
  1670. #line 236 "tg.y"
  1671.     { 
  1672.                                           yyval.p.line = yyvsp[-1].s.line;
  1673.                                           yyval.p.start = yyvsp[-1].s.start;
  1674.                                           yyval.p.end = yyvsp[0].p.end;
  1675.                                           yyval.p.val = new_objexp( yyvsp[0].p.val );
  1676.                                        }
  1677.     break;
  1678.  
  1679.   case 48:
  1680. #line 242 "tg.y"
  1681.     {
  1682.                                           yyval.p.line = yyvsp[-3].s.line;
  1683.                                           yyval.p.start = yyvsp[-3].s.start;
  1684.                                           yyval.p.end = yyvsp[0].s.end;
  1685.                                           yyval.p.val = yyvsp[-1].p.val;
  1686.                                        }
  1687.     break;
  1688.  
  1689.   case 49:
  1690. #line 248 "tg.y"
  1691.     { ERR(        
  1692.                                        "'(', '$' or object expected after '$'");
  1693.                                           yyval.p.val = 0; 
  1694.                                        }
  1695.     break;
  1696.  
  1697.   case 50:
  1698. #line 254 "tg.y"
  1699.     {
  1700.                                           yyval.p.line = yyvsp[0].p.line;
  1701.                                           yyval.p.start = yyvsp[0].p.start;
  1702.                                           yyval.p.end = yyvsp[0].p.end;
  1703.                                           yyval.p.val = new_object( 0, yyvsp[0].p.val );
  1704.                                        }
  1705.     break;
  1706.  
  1707.   case 51:
  1708. #line 260 "tg.y"
  1709.     { 
  1710.                                           yyval.p.line = yyvsp[-2].p.line; 
  1711.                                           yyval.p.start = yyvsp[-2].p.start;
  1712.                                           yyval.p.end = yyvsp[0].p.end; 
  1713.                                           yyval.p.val = new_object(yyvsp[-2].p.val, yyvsp[0].p.val);
  1714.                                        }
  1715.     break;
  1716.  
  1717.   case 52:
  1718. #line 266 "tg.y"
  1719.     { 
  1720.                                          ERR("object expected after '.'"); 
  1721.                                          yyval.p.val = 0;
  1722.                                        }
  1723.     break;
  1724.  
  1725.   case 53:
  1726. #line 272 "tg.y"
  1727.     {  yyval.i.val = 'e'; }
  1728.     break;
  1729.  
  1730.   case 54:
  1731. #line 273 "tg.y"
  1732.     {  yyval.i.val = '='; }
  1733.     break;
  1734.  
  1735.   case 55:
  1736. #line 274 "tg.y"
  1737.     {  yyval.i.val = '<'; }
  1738.     break;
  1739.  
  1740.   case 56:
  1741. #line 275 "tg.y"
  1742.     {  yyval.i.val = '>'; }
  1743.     break;
  1744.  
  1745.   case 57:
  1746. #line 276 "tg.y"
  1747.     {  yyval.i.val = '!'; }
  1748.     break;
  1749.  
  1750.   case 58:
  1751. #line 277 "tg.y"
  1752.     {  yyval.i.val = 'l'; }
  1753.     break;
  1754.  
  1755.   case 59:
  1756. #line 278 "tg.y"
  1757.     {  yyval.i.val = 'g'; }
  1758.     break;
  1759.  
  1760.   case 60:
  1761. #line 279 "tg.y"
  1762.     {  yyval.i.val = '1'; }
  1763.     break;
  1764.  
  1765.   case 61:
  1766. #line 280 "tg.y"
  1767.     {  yyval.i.val = '2'; }
  1768.     break;
  1769.  
  1770.   case 62:
  1771. #line 281 "tg.y"
  1772.     {  yyval.i.val = '3'; }
  1773.     break;
  1774.  
  1775.   case 63:
  1776. #line 282 "tg.y"
  1777.     {  yyval.i.val = '4'; }
  1778.     break;
  1779.  
  1780.   case 64:
  1781. #line 283 "tg.y"
  1782.     {  yyval.i.val = '|'; }
  1783.     break;
  1784.  
  1785.   case 65:
  1786. #line 284 "tg.y"
  1787.     {  yyval.i.val = '&'; }
  1788.     break;
  1789.  
  1790.   case 67:
  1791. #line 288 "tg.y"
  1792.     {
  1793.                                           yyval.p.line = yyvsp[-2].p.line;
  1794.                                           yyval.p.start = yyvsp[-2].p.start;
  1795.                                           yyval.p.end = yyvsp[0].p.end;
  1796.                                           yyval.p.val = new_exp(yyvsp[-2].p.val, yyvsp[-1].i.val, yyvsp[0].p.val);
  1797.                                        }
  1798.     break;
  1799.  
  1800.   case 69:
  1801. #line 297 "tg.y"
  1802.     {
  1803.                                           yyval.p.line = yyvsp[-2].p.line; 
  1804.                                           yyval.p.start = yyvsp[-2].p.start;
  1805.                                           yyval.p.end = yyvsp[0].p.end; 
  1806.                                           yyval.p.val = new_exp(yyvsp[-2].p.val, '+', yyvsp[0].p.val);
  1807.                                        }
  1808.     break;
  1809.  
  1810.   case 70:
  1811. #line 303 "tg.y"
  1812.     {
  1813.                                           yyval.p.line = yyvsp[-2].p.line; 
  1814.                                           yyval.p.start = yyvsp[-2].p.start;
  1815.                                           yyval.p.end = yyvsp[0].p.end; 
  1816.                                           yyval.p.val = new_exp(yyvsp[-2].p.val, '-', yyvsp[0].p.val);
  1817.                                        }
  1818.     break;
  1819.  
  1820.   case 71:
  1821. #line 309 "tg.y"
  1822.     {  
  1823.                                           ERR("expression expected after '+'"); 
  1824.                                           yyval.p.val = 0;
  1825.                                        }
  1826.     break;
  1827.  
  1828.   case 72:
  1829. #line 313 "tg.y"
  1830.     {  
  1831.                                           ERR("expression expected after '-'"); 
  1832.                                           yyval.p.val = 0;
  1833.                                        }
  1834.     break;
  1835.  
  1836.   case 74:
  1837. #line 320 "tg.y"
  1838.     {
  1839.                                           yyval.p.line = yyvsp[-2].p.line; 
  1840.                                           yyval.p.start = yyvsp[-2].p.start;
  1841.                                           yyval.p.end = yyvsp[0].p.end; 
  1842.                                           yyval.p.val = new_exp(yyvsp[-2].p.val, '*', yyvsp[0].p.val);
  1843.                                        }
  1844.     break;
  1845.  
  1846.   case 75:
  1847. #line 326 "tg.y"
  1848.     {
  1849.                                           yyval.p.line = yyvsp[-2].p.line; 
  1850.                                           yyval.p.start = yyvsp[-2].p.start;
  1851.                                           yyval.p.end = yyvsp[0].p.end; 
  1852.                                           yyval.p.val = new_exp(yyvsp[-2].p.val, '/', yyvsp[0].p.val);
  1853.                                        }
  1854.     break;
  1855.  
  1856.   case 76:
  1857. #line 332 "tg.y"
  1858.     {  ERR("expression expected after '*'");
  1859.                                           yyval.p.val = 0;
  1860.                                        }
  1861.     break;
  1862.  
  1863.   case 77:
  1864. #line 335 "tg.y"
  1865.     {  ERR("expression expected after '/'");
  1866.                                           yyval.p.val = 0;
  1867.                                        }
  1868.     break;
  1869.  
  1870.   case 78:
  1871. #line 340 "tg.y"
  1872.     {  yyval.p.line = yyvsp[0].p.line;
  1873.                                           yyval.p.start = yyvsp[0].p.start;
  1874.                                           yyval.p.end = yyvsp[0].p.end;
  1875.                                           yyval.p.val = new_explist( 0, yyvsp[0].p.val );
  1876.                                        }
  1877.     break;
  1878.  
  1879.   case 79:
  1880. #line 345 "tg.y"
  1881.     {  yyval.p.line = yyvsp[-2].p.line;
  1882.                                           yyval.p.start = yyvsp[-2].p.start;
  1883.                                           yyval.p.end = yyvsp[-2].p.end;
  1884.                                           yyval.p.val = new_explist(yyvsp[-2].p.val, yyvsp[0].p.val);
  1885.                                        }
  1886.     break;
  1887.  
  1888.   case 80:
  1889. #line 352 "tg.y"
  1890.     {  yyval.p.line = yyvsp[-2].s.line;
  1891.                                           yyval.p.start = yyvsp[-2].s.start;
  1892.                                           yyval.p.end = yyvsp[0].p.end;
  1893.                                           yyval.p.val = new_fldlist( 0, yyvsp[-2].s.val,
  1894.                                                   yyvsp[0].p.val );
  1895.                                        }
  1896.     break;
  1897.  
  1898.   case 81:
  1899. #line 358 "tg.y"
  1900.     {
  1901.                                           yyval.p.line = yyvsp[-4].p.line; 
  1902.                                           yyval.p.start = yyvsp[-4].p.start;
  1903.                                           yyval.p.end = yyvsp[0].p.end;
  1904.                                           yyval.p.val = new_fldlist( yyvsp[-4].p.val, yyvsp[-2].s.val,
  1905.                                                       yyvsp[0].p.val );
  1906.                                        }
  1907.     break;
  1908.  
  1909.   case 82:
  1910. #line 367 "tg.y"
  1911.     {
  1912.                                           yyval.p.line = yyvsp[-2].s.line;
  1913.                                           yyval.p.start = yyvsp[-2].s.start;
  1914.                                           yyval.p.end = yyvsp[0].s.end;
  1915.                                           yyval.p.val = new_array( yyvsp[-1].p.val );
  1916.                                        }
  1917.     break;
  1918.  
  1919.   case 83:
  1920. #line 373 "tg.y"
  1921.     {
  1922.                                           yyval.p.line = yyvsp[-2].s.line;
  1923.                                           yyval.p.start = yyvsp[-2].s.start;
  1924.                                           yyval.p.end = yyvsp[0].s.end;
  1925.                                           yyval.p.val = new_record( yyvsp[-1].p.val );
  1926.                                        }
  1927.     break;
  1928.  
  1929.   case 84:
  1930. #line 379 "tg.y"
  1931.     {  ERR("error in array definition");
  1932.                                           yyval.p.val = 0;
  1933.                                           yyval.p.line = yyvsp[-1].s.line;
  1934.                                        }
  1935.     break;
  1936.  
  1937.   case 87:
  1938. #line 387 "tg.y"
  1939.     { 
  1940.                                           yyval.p.line = yyvsp[-1].p.line;
  1941.                                           yyval.p.start = yyvsp[-1].p.start;
  1942.                                           yyval.p.end = yyvsp[0].i.end;
  1943.                                           yyval.p.val = new_inc( yyvsp[-1].p.val, +1, 1 );
  1944.                                        }
  1945.     break;
  1946.  
  1947.   case 88:
  1948. #line 393 "tg.y"
  1949.     {
  1950.                                           yyval.p.line = yyvsp[-1].i.line;
  1951.                                           yyval.p.start = yyvsp[-1].i.start;
  1952.                                           yyval.p.end = yyvsp[0].p.end;
  1953.                                           yyval.p.val = new_inc( yyvsp[0].p.val, +1, 0 );
  1954.                                        }
  1955.     break;
  1956.  
  1957.   case 89:
  1958. #line 399 "tg.y"
  1959.     {
  1960.                                           yyval.p.line = yyvsp[-1].i.line;
  1961.                                           yyval.p.start = yyvsp[-1].i.start;
  1962.                                           yyval.p.end = yyvsp[0].p.end;
  1963.                                           yyval.p.val = new_exp( 0, 'n', yyvsp[0].p.val);
  1964.                                        }
  1965.     break;
  1966.  
  1967.   case 90:
  1968. #line 405 "tg.y"
  1969.     {
  1970.                                           yyval.p.line = yyvsp[-1].s.line;
  1971.                                           yyval.p.start = yyvsp[-1].s.start;
  1972.                                           yyval.p.end = yyvsp[0].p.end;
  1973.                                           yyval.p.val = new_exp( 0, '-', yyvsp[0].p.val);
  1974.                                        }
  1975.     break;
  1976.  
  1977.   case 91:
  1978. #line 411 "tg.y"
  1979.     { 
  1980.                                           yyval.p.line = yyvsp[-1].p.line;
  1981.                                           yyval.p.start = yyvsp[-1].p.start;
  1982.                                           yyval.p.end = yyvsp[0].i.end;
  1983.                                           yyval.p.val = new_inc( yyvsp[-1].p.val, -1, 1 );
  1984.                                        }
  1985.     break;
  1986.  
  1987.   case 92:
  1988. #line 417 "tg.y"
  1989.     {
  1990.                                           yyval.p.line = yyvsp[-1].i.line;
  1991.                                           yyval.p.start = yyvsp[-1].i.start;
  1992.                                           yyval.p.end = yyvsp[0].p.end;
  1993.                                           yyval.p.val = new_inc( yyvsp[0].p.val, -1, 0 );
  1994.                                        }
  1995.     break;
  1996.  
  1997.   case 93:
  1998. #line 423 "tg.y"
  1999.     {   
  2000.                                           yyval.p.line = yyvsp[0].i.line; 
  2001.                                           yyval.p.start = yyvsp[0].i.start;
  2002.                                           yyval.p.end = yyvsp[0].i.end; 
  2003.                                           yyval.p.val = new_num(yyvsp[0].i.val);
  2004.                                        }
  2005.     break;
  2006.  
  2007.   case 94:
  2008. #line 429 "tg.y"
  2009.     {
  2010.                                           yyval.p.line = yyvsp[0].f.line; 
  2011.                                           yyval.p.start = yyvsp[0].f.start;
  2012.                                           yyval.p.end = yyvsp[0].f.end; 
  2013.                                           yyval.p.val = new_float(yyvsp[0].f.val);
  2014.                                        }
  2015.     break;
  2016.  
  2017.   case 95:
  2018. #line 435 "tg.y"
  2019.     {
  2020.                                           yyval.p.line = yyvsp[0].s.line; 
  2021.                                           yyval.p.start = yyvsp[0].s.start;
  2022.                                           yyval.p.end = yyvsp[0].s.end; 
  2023.                                           yyval.p.val = new_string(yyvsp[0].s.val);
  2024.                                           if ( yyvsp[0].s.val ) {
  2025.                                               FREE( yyvsp[0].s.val );
  2026.                                               yyvsp[0].s.val = 0;
  2027.                                           }
  2028.                                        }
  2029.     break;
  2030.  
  2031.   case 96:
  2032. #line 445 "tg.y"
  2033.     {
  2034.                                           yyval.p.line = yyvsp[-2].s.line; 
  2035.                                           yyval.p.start = yyvsp[-2].s.start;
  2036.                                           yyval.p.end = yyvsp[0].s.end; 
  2037.                                           yyval.p.val = yyvsp[-1].p.val;
  2038.                                        }
  2039.     break;
  2040.  
  2041.   case 97:
  2042. #line 451 "tg.y"
  2043.     {  ERR("expression expected after '('");
  2044.                                           yyval.p.val = 0;
  2045.                                        }
  2046.     break;
  2047.  
  2048.   case 98:
  2049. #line 456 "tg.y"
  2050.     {
  2051.                                           yyval.p.line = yyvsp[0].s.line; 
  2052.                                           yyval.p.start = yyvsp[0].s.start;
  2053.                                           yyval.p.end = yyvsp[0].s.end; 
  2054.                                           yyval.p.val = new_part(yyvsp[0].s.val);
  2055.                                           if ( yyvsp[0].s.val ) {
  2056.                                               FREE( yyvsp[0].s.val );
  2057.                                               yyvsp[0].s.val = 0;
  2058.                                           }
  2059.                                        }
  2060.     break;
  2061.  
  2062.   case 99:
  2063. #line 466 "tg.y"
  2064.     {  yyval.p.line = yyvsp[0].p.line;
  2065.                                           yyval.p.start = yyvsp[0].p.start;
  2066.                                           yyval.p.end = yyvsp[0].p.end; 
  2067.                                           yyval.p.val = new_exppart( yyvsp[0].p.val );
  2068.                                        }
  2069.     break;
  2070.  
  2071.   case 100:
  2072. #line 471 "tg.y"
  2073.     {
  2074.                                           yyval.p.line = yyvsp[-3].p.line; 
  2075.                                           yyval.p.start = yyvsp[-3].p.start;
  2076.                                           yyval.p.end = yyvsp[0].s.end; 
  2077.                                           yyval.p.val = new_fun( yyvsp[-3].p.val, yyvsp[-1].p.val );
  2078.                                        }
  2079.     break;
  2080.  
  2081.   case 101:
  2082. #line 477 "tg.y"
  2083.     {
  2084.                                           yyval.p.line = yyvsp[-3].p.line; 
  2085.                                           yyval.p.start = yyvsp[-3].p.start;
  2086.                                           yyval.p.end = yyvsp[0].s.end; 
  2087.                                           yyval.p.val = new_tab( yyvsp[-3].p.val, yyvsp[-1].p.val );
  2088.                                        }
  2089.     break;
  2090.  
  2091.   case 102:
  2092. #line 483 "tg.y"
  2093.     {  ERR("bad function call argument");
  2094.                                           yyval.p.val = 0;
  2095.                                        }
  2096.     break;
  2097.  
  2098.   case 103:
  2099. #line 486 "tg.y"
  2100.     { ERR("expression expected after '['");
  2101.                                           yyval.p.val = 0;
  2102.                                        }
  2103.     break;
  2104.  
  2105.   case 104:
  2106. #line 492 "tg.y"
  2107.     {  yyval.p.val = 0; }
  2108.     break;
  2109.  
  2110.   case 106:
  2111. #line 496 "tg.y"
  2112.     {
  2113.                                           yyval.p.line = yyvsp[0].p.line; 
  2114.                                           yyval.p.start = yyvsp[0].p.start;
  2115.                                           yyval.p.end = yyvsp[0].p.end; 
  2116.                                           yyval.p.val = new_explist( 0, yyvsp[0].p.val );
  2117.                                        }
  2118.     break;
  2119.  
  2120.   case 107:
  2121. #line 502 "tg.y"
  2122.     {
  2123.                                           yyval.p.line = yyvsp[-2].p.line; 
  2124.                                           yyval.p.start = yyvsp[-2].p.start;
  2125.                                           yyval.p.end = yyvsp[0].p.end; 
  2126.                                           yyval.p.val = new_explist(yyvsp[-2].p.val, yyvsp[0].p.val);
  2127.                                        }
  2128.     break;
  2129.  
  2130.   case 123:
  2131. #line 525 "tg.y"
  2132.     {  yyval.l.line = yyvsp[0].i.line;
  2133.                                           yyval.l.cmd = 0; }
  2134.     break;
  2135.  
  2136.   case 124:
  2137. #line 527 "tg.y"
  2138.     {  yyval.l.line = yyvsp[-1].i.line;
  2139.                                           ERR( "bad '@' command" );
  2140.                                           yyval.l.cmd = 0;
  2141.                                        }
  2142.     break;
  2143.  
  2144.   case 125:
  2145. #line 533 "tg.y"
  2146.     {
  2147.                                          yyval.l.line = yyvsp[-4].i.line;
  2148.                                          yyval.l.cmd=new_if(yyvsp[-3].p.val,yyvsp[0].i.line,yyvsp[0].i.line); 
  2149.                                        }
  2150.     break;
  2151.  
  2152.   case 126:
  2153. #line 537 "tg.y"
  2154.     {
  2155.                                          yyval.l.line = yyvsp[-7].i.line;
  2156.                                          yyval.l.cmd=new_if(yyvsp[-6].p.val,yyvsp[-3].i.line,yyvsp[0].i.line); 
  2157.                                        }
  2158.     break;
  2159.  
  2160.   case 127:
  2161. #line 541 "tg.y"
  2162.     { ERR( "@if command malformed" );
  2163.                                          yyval.l.cmd = 0;
  2164.                                        }
  2165.     break;
  2166.  
  2167.   case 128:
  2168. #line 546 "tg.y"
  2169.     { yyval.p.end = yyvsp[0].i.line; }
  2170.     break;
  2171.  
  2172.   case 129:
  2173. #line 547 "tg.y"
  2174.     { ERR("@function not closed");
  2175.                                          yyval.p.val = 0; }
  2176.     break;
  2177.  
  2178.   case 130:
  2179. #line 552 "tg.y"
  2180.     {
  2181.                                       int _regres;
  2182.                                       yyval.l.line = yyvsp[-6].i.line;
  2183.                                       yyval.l.cmd = new_function( yyvsp[-5].s.val, yyvsp[-3].p.val,
  2184.                                               yyvsp[0].p.end ); 
  2185.                                       if ( regfun( yyvsp[-5].s.val, curfilen, 
  2186.                                                   yyvsp[-6].i.line ) == 2 ) 
  2187.                                           warning( "warning: function duplicated" );
  2188.                                       if ( yyvsp[-5].s.val ) FREE( yyvsp[-5].s.val );
  2189.                                     }
  2190.     break;
  2191.  
  2192.   case 131:
  2193. #line 562 "tg.y"
  2194.     {
  2195.                                       ERR("bad @function header");
  2196.                                       yyval.l.cmd = 0;
  2197.                                     }
  2198.     break;
  2199.  
  2200.   case 132:
  2201. #line 568 "tg.y"
  2202.     { yyval.p.val = 0; }
  2203.     break;
  2204.  
  2205.   case 134:
  2206. #line 572 "tg.y"
  2207.     { yyval.p.line = yyvsp[0].s.line;
  2208.                                       yyval.p.val = new_parlist( 0, yyvsp[0].s.val ); 
  2209.                                       if ( yyvsp[0].s.val ) FREE( yyvsp[0].s.val );
  2210.                                     }
  2211.     break;
  2212.  
  2213.   case 135:
  2214. #line 576 "tg.y"
  2215.     {
  2216.                                       yyval.p.line = yyvsp[-2].p.line;
  2217.                                       yyval.p.val = new_parlist( yyvsp[-2].p.val, yyvsp[0].s.val ); 
  2218.                                       if ( yyvsp[0].s.val ) FREE( yyvsp[0].s.val );
  2219.                                     }
  2220.     break;
  2221.  
  2222.   case 136:
  2223. #line 583 "tg.y"
  2224.     {
  2225.                                       yyval.l.line = yyvsp[-4].i.line;
  2226.                                       yyval.l.cmd = new_switch(yyvsp[-3].p.val,yyvsp[-1].p.val,
  2227.                                               yyvsp[-4].i.line,yyvsp[0].i.line);
  2228.                                     }
  2229.     break;
  2230.  
  2231.   case 137:
  2232. #line 588 "tg.y"
  2233.     { ERR( "@case expected" );
  2234.                                       yyval.l.cmd = 0;
  2235.                                     }
  2236.     break;
  2237.  
  2238.   case 138:
  2239. #line 593 "tg.y"
  2240.     {  yyval.p.line = yyvsp[0].p.line;
  2241.                                       yyval.p.val = new_caselist(0,yyvsp[0].p.val,yyvsp[0].p.line);
  2242.                                    }
  2243.     break;
  2244.  
  2245.   case 139:
  2246. #line 596 "tg.y"
  2247.     { yyval.p.line = yyvsp[-1].p.line;
  2248.                                       yyval.p.val = new_caselist(yyvsp[-1].p.val, 
  2249.                                               yyvsp[0].p.val, yyvsp[0].p.line );
  2250.                                    }
  2251.     break;
  2252.  
  2253.   case 140:
  2254. #line 602 "tg.y"
  2255.     {
  2256.                                       yyval.p.line = yyvsp[-3].p.line;
  2257.                                       yyval.p.val = yyvsp[-3].p.val;
  2258.                                    }
  2259.     break;
  2260.  
  2261.   case 141:
  2262. #line 606 "tg.y"
  2263.     {  ERR("after @case expected expression and ':'");
  2264.                                       yyval.p.val = 0;
  2265.                                    }
  2266.     break;
  2267.  
  2268.   case 142:
  2269. #line 611 "tg.y"
  2270.     {
  2271.                                       yyval.l.line = yyvsp[-4].i.line;
  2272.                                       yyval.l.cmd = new_for(yyvsp[-3].p.val, yyvsp[-4].i.line, yyvsp[0].i.line);
  2273.                                    }
  2274.     break;
  2275.  
  2276.   case 143:
  2277. #line 615 "tg.y"
  2278.     {  ERR( "bad @for command syntax" );
  2279.                                       yyval.l.cmd = 0; yyval.l.line = yyvsp[-1].i.line;
  2280.                                    }
  2281.     break;
  2282.  
  2283.   case 144:
  2284. #line 620 "tg.y"
  2285.     {
  2286.                                       yyval.p.line = yyvsp[-6].s.line;
  2287.                                       yyval.p.val = new_forctl(yyvsp[-5].p.val,yyvsp[-3].p.val,yyvsp[-1].p.val);
  2288.                                    }
  2289.     break;
  2290.  
  2291.   case 145:
  2292. #line 624 "tg.y"
  2293.     {
  2294.                                       yyval.p.line = yyvsp[-4].s.line;
  2295.                                       yyval.p.start = yyvsp[-4].s.start;
  2296.                                       yyval.p.end = yyvsp[0].s.end;
  2297.                                       yyval.p.val = new_lforctl(yyvsp[-3].p.val,yyvsp[-1].p.val);  
  2298.                                    }
  2299.     break;
  2300.  
  2301.   case 146:
  2302. #line 630 "tg.y"
  2303.     {  ERR( "bad @for command syntax" );
  2304.                                       yyval.p.val = 0;
  2305.                                    }
  2306.     break;
  2307.  
  2308.   case 147:
  2309. #line 635 "tg.y"
  2310.     {  yyval.l.line = yyvsp[-1].i.line;
  2311.                                       yyval.l.cmd = new_return( yyvsp[0].p.val );
  2312.                                    }
  2313.     break;
  2314.  
  2315.   case 148:
  2316. #line 638 "tg.y"
  2317.     {  ERR( "@return without argument" );
  2318.                                       yyval.l.cmd = 0;
  2319.                                    }
  2320.     break;
  2321.  
  2322.   case 149:
  2323. #line 643 "tg.y"
  2324.     {  yyval.l.line = yyvsp[0].i.line;
  2325.                                       yyval.l.cmd = new_break( yyvsp[0].i.line );
  2326.                                    }
  2327.     break;
  2328.  
  2329.   case 150:
  2330. #line 648 "tg.y"
  2331.     {  yyval.l.line = yyvsp[0].i.line;
  2332.                                       yyval.l.cmd = new_push();
  2333.                                    }
  2334.     break;
  2335.  
  2336.   case 151:
  2337. #line 653 "tg.y"
  2338.     {  yyval.l.line = yyvsp[0].i.line;
  2339.                                       yyval.l.cmd = new_pop();
  2340.                                    }
  2341.     break;
  2342.  
  2343.   case 152:
  2344. #line 658 "tg.y"
  2345.     {  yyval.p.val = 0;  }
  2346.     break;
  2347.  
  2348.   case 154:
  2349. #line 660 "tg.y"
  2350.     {  ERR( "expression expected" );
  2351.                                       yyval.p.val = 0; 
  2352.                                    }
  2353.     break;
  2354.  
  2355.   case 155:
  2356. #line 665 "tg.y"
  2357.     {  yyval.l.line = yyvsp[-1].i.line;
  2358.                                       yyval.l.cmd = new_cmdexp( yyvsp[0].p.val ); }
  2359.     break;
  2360.  
  2361.   case 156:
  2362. #line 669 "tg.y"
  2363.     {  yyval.l.line = yyvsp[-1].i.line;
  2364.                                       yyval.l.cmd = new_embed( yyvsp[0].p.val ); }
  2365.     break;
  2366.  
  2367.   case 157:
  2368. #line 673 "tg.y"
  2369.     {  yyval.l.line = yyvsp[-1].i.line;
  2370.                                       yyval.l.cmd = new_emit( yyvsp[0].p.val ); }
  2371.     break;
  2372.  
  2373.   case 158:
  2374. #line 677 "tg.y"
  2375.     {  yyval.l.line = yyvsp[-1].i.line;
  2376.                                       yyval.l.cmd = new_output( yyvsp[0].p.val ); }
  2377.     break;
  2378.  
  2379.   case 159:
  2380. #line 681 "tg.y"
  2381.     {  yyval.l.line = yyvsp[-1].i.line;
  2382.                                       yyval.l.cmd = new_local( yyvsp[0].s.val ); }
  2383.     break;
  2384.  
  2385.   case 160:
  2386. #line 685 "tg.y"
  2387.     {  yyval.l.line = yyvsp[-1].i.line;
  2388.                                       yyval.l.cmd = new_use( yyvsp[0].s.val ); }
  2389.     break;
  2390.  
  2391.   case 161:
  2392. #line 687 "tg.y"
  2393.     {  yyval.l.line = yyvsp[-1].i.line;
  2394.                                       yyval.l.cmd = new_use( unquote(yyvsp[0].s.val) );
  2395.                                       if (yyvsp[0].s.val) FREE(yyvsp[0].s.val);
  2396.                                    }
  2397.     break;
  2398.  
  2399.   case 162:
  2400. #line 693 "tg.y"
  2401.     {  yyval.l.line = yyvsp[0].i.line;
  2402.                                       yyval.l.cmd = new_exit( 0 );
  2403.                                    }
  2404.     break;
  2405.  
  2406.   case 163:
  2407. #line 696 "tg.y"
  2408.     {  yyval.l.line = yyvsp[-1].i.line;
  2409.                                       yyval.l.cmd = new_exit( yyvsp[0].p.val );
  2410.                                    }
  2411.     break;
  2412.  
  2413.  
  2414.     }
  2415.  
  2416. /* Line 1016 of /usr/local/share/bison/yacc.c.  */
  2417. #line 2418 "y.tab.c"
  2418.  
  2419.   yyvsp -= yylen;
  2420.   yyssp -= yylen;
  2421.  
  2422.  
  2423. #if YYDEBUG
  2424.   if (yydebug)
  2425.     {
  2426.       short *yyssp1 = yyss - 1;
  2427.       YYFPRINTF (stderr, "state stack now");
  2428.       while (yyssp1 != yyssp)
  2429.     YYFPRINTF (stderr, " %d", *++yyssp1);
  2430.       YYFPRINTF (stderr, "\n");
  2431.     }
  2432. #endif
  2433.  
  2434.   *++yyvsp = yyval;
  2435.  
  2436.  
  2437.   /* Now `shift' the result of the reduction.  Determine what state
  2438.      that goes to, based on the state we popped back to and the rule
  2439.      number reduced by.  */
  2440.  
  2441.   yyn = yyr1[yyn];
  2442.  
  2443.   yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
  2444.   if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
  2445.     yystate = yytable[yystate];
  2446.   else
  2447.     yystate = yydefgoto[yyn - YYNTOKENS];
  2448.  
  2449.   goto yynewstate;
  2450.  
  2451.  
  2452. /*------------------------------------.
  2453. | yyerrlab -- here on detecting error |
  2454. `------------------------------------*/
  2455. yyerrlab:
  2456.   /* If not already recovering from an error, report this error.  */
  2457.   if (!yyerrstatus)
  2458.     {
  2459.       ++yynerrs;
  2460. #if YYERROR_VERBOSE
  2461.       yyn = yypact[yystate];
  2462.  
  2463.       if (YYPACT_NINF < yyn && yyn < YYLAST)
  2464.     {
  2465.       YYSIZE_T yysize = 0;
  2466.       int yytype = YYTRANSLATE (yychar);
  2467.       char *yymsg;
  2468.       int yyx, yycount;
  2469.  
  2470.       yycount = 0;
  2471.       /* Start YYX at -YYN if negative to avoid negative indexes in
  2472.          YYCHECK.  */
  2473.       for (yyx = yyn < 0 ? -yyn : 0;
  2474.            yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++)
  2475.         if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
  2476.           yysize += yystrlen (yytname[yyx]) + 15, yycount++;
  2477.       yysize += yystrlen ("parse error, unexpected ") + 1;
  2478.       yysize += yystrlen (yytname[yytype]);
  2479.       yymsg = (char *) YYSTACK_ALLOC (yysize);
  2480.       if (yymsg != 0)
  2481.         {
  2482.           char *yyp = yystpcpy (yymsg, "parse error, unexpected ");
  2483.           yyp = yystpcpy (yyp, yytname[yytype]);
  2484.  
  2485.           if (yycount < 5)
  2486.         {
  2487.           yycount = 0;
  2488.           for (yyx = yyn < 0 ? -yyn : 0;
  2489.                yyx < (int) (sizeof (yytname) / sizeof (char *));
  2490.                yyx++)
  2491.             if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
  2492.               {
  2493.             const char *yyq = ! yycount ? ", expecting " : " or ";
  2494.             yyp = yystpcpy (yyp, yyq);
  2495.             yyp = yystpcpy (yyp, yytname[yyx]);
  2496.             yycount++;
  2497.               }
  2498.         }
  2499.           yyerror (yymsg);
  2500.           YYSTACK_FREE (yymsg);
  2501.         }
  2502.       else
  2503.         yyerror ("parse error; also virtual memory exhausted");
  2504.     }
  2505.       else
  2506. #endif /* YYERROR_VERBOSE */
  2507.     yyerror ("parse error");
  2508.     }
  2509.   goto yyerrlab1;
  2510.  
  2511.  
  2512. /*----------------------------------------------------.
  2513. | yyerrlab1 -- error raised explicitly by an action.  |
  2514. `----------------------------------------------------*/
  2515. yyerrlab1:
  2516.   if (yyerrstatus == 3)
  2517.     {
  2518.       /* If just tried and failed to reuse lookahead token after an
  2519.      error, discard it.  */
  2520.  
  2521.       /* Return failure if at end of input.  */
  2522.       if (yychar == YYEOF)
  2523.         {
  2524.       /* Pop the error token.  */
  2525.           YYPOPSTACK;
  2526.       /* Pop the rest of the stack.  */
  2527.       while (yyssp > yyss)
  2528.         {
  2529.           YYDPRINTF ((stderr, "Error: popping "));
  2530.           YYDSYMPRINT ((stderr,
  2531.                 yystos[*yyssp],
  2532.                 *yyvsp));
  2533.           YYDPRINTF ((stderr, "\n"));
  2534.           yydestruct (yystos[*yyssp], *yyvsp);
  2535.           YYPOPSTACK;
  2536.         }
  2537.       YYABORT;
  2538.         }
  2539.  
  2540.       YYDPRINTF ((stderr, "Discarding token %d (%s).\n",
  2541.           yychar, yytname[yychar1]));
  2542.       yydestruct (yychar1, yylval);
  2543.       yychar = YYEMPTY;
  2544.     }
  2545.  
  2546.   /* Else will try to reuse lookahead token after shifting the error
  2547.      token.  */
  2548.  
  2549.   yyerrstatus = 3;    /* Each real token shifted decrements this.  */
  2550.  
  2551.   for (;;)
  2552.     {
  2553.       yyn = yypact[yystate];
  2554.       if (yyn != YYPACT_NINF)
  2555.     {
  2556.       yyn += YYTERROR;
  2557.       if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
  2558.         {
  2559.           yyn = yytable[yyn];
  2560.           if (0 < yyn)
  2561.         break;
  2562.         }
  2563.     }
  2564.  
  2565.       /* Pop the current state because it cannot handle the error token.  */
  2566.       if (yyssp == yyss)
  2567.     YYABORT;
  2568.  
  2569.       YYDPRINTF ((stderr, "Error: popping "));
  2570.       YYDSYMPRINT ((stderr,
  2571.             yystos[*yyssp], *yyvsp));
  2572.       YYDPRINTF ((stderr, "\n"));
  2573.  
  2574.       yydestruct (yystos[yystate], *yyvsp);
  2575.       yyvsp--;
  2576.       yystate = *--yyssp;
  2577.  
  2578.  
  2579. #if YYDEBUG
  2580.       if (yydebug)
  2581.     {
  2582.       short *yyssp1 = yyss - 1;
  2583.       YYFPRINTF (stderr, "Error: state stack now");
  2584.       while (yyssp1 != yyssp)
  2585.         YYFPRINTF (stderr, " %d", *++yyssp1);
  2586.       YYFPRINTF (stderr, "\n");
  2587.     }
  2588. #endif
  2589.     }
  2590.  
  2591.   if (yyn == YYFINAL)
  2592.     YYACCEPT;
  2593.  
  2594.   YYDPRINTF ((stderr, "Shifting error token, "));
  2595.  
  2596.   *++yyvsp = yylval;
  2597.  
  2598.  
  2599.   yystate = yyn;
  2600.   goto yynewstate;
  2601.  
  2602.  
  2603. /*-------------------------------------.
  2604. | yyacceptlab -- YYACCEPT comes here.  |
  2605. `-------------------------------------*/
  2606. yyacceptlab:
  2607.   yyresult = 0;
  2608.   goto yyreturn;
  2609.  
  2610. /*-----------------------------------.
  2611. | yyabortlab -- YYABORT comes here.  |
  2612. `-----------------------------------*/
  2613. yyabortlab:
  2614.   yyresult = 1;
  2615.   goto yyreturn;
  2616.  
  2617. #ifndef yyoverflow
  2618. /*----------------------------------------------.
  2619. | yyoverflowlab -- parser overflow comes here.  |
  2620. `----------------------------------------------*/
  2621. yyoverflowlab:
  2622.   yyerror ("parser stack overflow");
  2623.   yyresult = 2;
  2624.   /* Fall through.  */
  2625. #endif
  2626.  
  2627. yyreturn:
  2628. #ifndef yyoverflow
  2629.   if (yyss != yyssa)
  2630.     YYSTACK_FREE (yyss);
  2631. #endif
  2632.   return yyresult;
  2633. }
  2634.  
  2635.  
  2636. #line 158 "tg.y"
  2637.  
  2638.